PhillipsAndrew
Registered User.
- Local time
- Today, 16:45
- Joined
- Aug 7, 2003
- Messages
- 21
I have a form with a sub form based on a many to many junction table, which works fine.
If I don't enter any data into the subform no record is created in the junction tables (as you would expect).
The main form is base on a table containing Person Info (ID, Name, Address etc..)
The junction table contains info on what departments they may be associated with (could me many hence the junction table)
The trouble is, I have a query based on these two tables, if I don't have an entry in the junction table then no record is shown.
For example, in my form, if I enter the Person Info but decide not to enter any department info for that person, then the query will not display any data on that person....
I know that I could redesign my query, but I want to do things like - find the total number of people on the system AND what departments they are associated with.
The main and sub forms are linked with the child/master.
Should I be using AfterUpdate or something to create a blank record in my junction table? Or do I have a fundamental misunderstanding..
Thanks
If I don't enter any data into the subform no record is created in the junction tables (as you would expect).
The main form is base on a table containing Person Info (ID, Name, Address etc..)
The junction table contains info on what departments they may be associated with (could me many hence the junction table)
The trouble is, I have a query based on these two tables, if I don't have an entry in the junction table then no record is shown.
For example, in my form, if I enter the Person Info but decide not to enter any department info for that person, then the query will not display any data on that person....
I know that I could redesign my query, but I want to do things like - find the total number of people on the system AND what departments they are associated with.
The main and sub forms are linked with the child/master.
Should I be using AfterUpdate or something to create a blank record in my junction table? Or do I have a fundamental misunderstanding..
Thanks