trouble in new record

Q

qye2020

I have two forms based on two tables repectively (department, and employee,
no foreign keys relation). Main form dispalys department info, it has a
button "show employees". When clicked, the departmental exployee form is
displayed. The trouble i have now, if the department hasn't any employee and
i open the detail form and then immediate close it, a blank employee record
with department id is saved to employee table. How to prevent this behavior
but i still add new employee through an add button.

Thanks,

q
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top