dear all,
i have a problem in my application ,
i need to pass pk in form 1 to FK in form 2
there are a relationship(1:n)
i need when i open form2 ,i finda relation ship in table 2
i need this urgently
regards
dear all,
i have a problem in my application ,
i need to pass pk in form 1 to FK in form 2
there are a relationship(1:n)
i need when i open form2 ,i finda relation ship in table 2
i need this urgently
regards
i want to tell me in example because i am beginner in access and i hope example for that .
regrads
All three of those links have examples.
thanks a lot ,
in the first form :
i write : DoCmd.OpenForm "MediaDescription_F", acNormal
in the second form
i not write any thing
so when i enter data in the first form (Media_F) and click on button that i write into it the code second form (MediaDescription_F) open but i am not find the pk that in enter in the first form
please help me
Try using the second suggestion link example.
thanks for your attention
but my issue is how to pass value from first form to second form
and second form is sub form i can not enter data into it until complete data in first form
regards,
So what happens when you use the WhereCondition argument to apply a filter to the second form?
i need insert pk in the second form to make a relationship between 2 forms but where condition apply a filter on opening second form
regards
In that case use the 3rd example with OpenArgs.