If Master/Child links properties are correctly set, then only related records should show. Without directly viewing db, can't really say what the issue is. If you want to provide db for analysis, follow instructions at bottom of my post.
If Master/Child links properties are correctly set, then only related records should show. Without directly viewing db, can't really say what the issue is. If you want to provide db for analysis, follow instructions at bottom of my post.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Subform is in form Footer section and it is set as not visible. Suggest moving subform to Detail section.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
For what, members or strategies? I think you mean members, yet you have linked strategies to households.Then you can create different strategies (or scenarios) that you can work with.
Not sure how else to explain the rest of my post except to say if I'm right about strategies and you follow that logic, then see if this fits:
A household (1) links to many members. (if) A member can only can only have one strategy, so it's a FK field in members.
A member has income, so memberPk links to incomeFK
I don't know what a strategy is, but if it relates to a member, then should it should link to members. You can only figure out who the member is by going through your linking table, which as I said, contains no real data - it's just foreign key values from other tables. I still don't see the need for it, but if it works then leave it I guess. The one thing I'd caution against is to spend a lot of time dickering with forms and reports if you're not sure you have your relationships right (I'm assuming you're not sure since you're asking).
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.
Thank you for your help! I moved the subform as you suggested and it works perfectly.
I have set up the subform so that you cannot add or edit the members in the list. This is buy design, but I want to have an add, edit and delete button for the members. What is the best way to do this? I created a new form and set it to data entry yes and turned edits and deletions to NO. When I open the form, it works well.
Now, I need to know how to pass the HouseholdID into the form and link it to the foreign key. Can you advise how to do that? Because it isn't a "subform" I don't now where or how to change the master/child fields.
Master/child links are properties of subform/subreport container control. If you don't use form/subform arrangement then there are no links properties available.
Several ways to pass data between forms. Explore OpenArgs, TempVar, global variable, and simply referencing field/control on an open form.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.