G
Guest
I have a subform (frmAddress) that is used by two main forms (frmRider and
frmFilteredRider). In the record source, I have a WHERE condition that looks
at the ID field in the main form. Is there a way to write the WHERE
condition so it doesn't care which main form is open?
I tried "WHERE ClientID = Parent!ClientID", but all it does is bring back a
blank page. If I try "Me!ClientID", it pops up asking for "Me!ClientID".
I have the same problem if I want to use the where condition in a subquery.
frmFilteredRider). In the record source, I have a WHERE condition that looks
at the ID field in the main form. Is there a way to write the WHERE
condition so it doesn't care which main form is open?
I tried "WHERE ClientID = Parent!ClientID", but all it does is bring back a
blank page. If I try "Me!ClientID", it pops up asking for "Me!ClientID".
I have the same problem if I want to use the where condition in a subquery.