Form with two subforms open WHERE Condition

raphael99

Registered User.
Local time
Today, 05:20
Joined
Apr 6, 2015
Messages
126
Hi
I have a form (nameform) with two subform (subform A)(subform B) based on two different queries.
All is fine when run it.
I'm tryng to open "nameform" from another form (FormPrincipale).
To do that I'm using macro command on a button click event with WHERE Condition is ="[ID]=" & [ID].
The form (nameform) opens but I can't get any data on both subforms.
How can I open "nameform" showing the both subforms diplaying results?
Thanks
 
have you set the linkchild/linkmaster properties to both subform controls?
 
Yes they are linked
 
You could try using tempvars. I am in a similar situation, experimenting with tempvars.
 
NeverMind. I got my head out of world...
Mistaken to add the proper table ID.
Linking Master/child in Form/Subforms works very well.
Thanks for support :banghead:
 

Users who are viewing this thread

Back
Top Bottom