Form & Subforms

C

Charess

Hello,

I am somewhat new to designing Access databases...

I have one master form that contains employee details and another subform
that has employee issues and another subform that contains meetings about the
employee issues.

I don't believe I have my forms are linked properly. My main form contains
employee ID, this is a lookup field which is calling the employees table.
When I enter the employee ID, all my other controls auto-populate. I then
have a command button which opens my subform Issues. I have the employee id
control in my issues form equalled to the employee ID in my Employee details
form (master form). However, when I go to add new employees and I click the
subform Issues, all the records are there, I would like to have a new record
when there is no employee id equalled to the ID in the employees table.

I am really lost and any help would be greatly appreciated.

Charess
 
D

Duane Hookom

Is there a reason why you aren't using a true subform that is located on your
main form? It sounds like you are simply opening a second form which
technically isn't a subform.

When you use subforms, you can set the Link Master/Child properties to
filter the records displayed in the subform to a field or fields in the main
form.
 

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