All,
My form "FRM_Main" contains 2 subforms, each an instance of the form
"FRM_Testators"
The object name of instance 1 of the form is "SFRM_Clients".
The object name of instance 2 of the form is "SFRM_Mirrors".
The form contains (among others) the combo boxes "Rel2Client" and
"Rel2Mir". (Indicating the relationship between the client and the
mirror.
I have a lookup table named LU_TBL_Relationships, which contains the
column "REL" with all possible relationships (husband, wife, father,
mother, etc.) and the column "MIR" with all of the possible "mirrors"
of those relationships (wife, husband, father-in-law, mother-in law,
etc.).
Currently, I have code in FRM_Main that sets the combo box
"Rel2Client" to "invisible" on SFRM_Clients and the combo box
"Rel2Mir" to "invisible" on SFRM_Mirrors.
Is there a way, once the user sets the value of the combo box
"Rel2Mir" on SFRM_Clients, I can have a DLookup set the value of
"Rel2Client" on SFRM_Mirrors = to the "mirror" value in the LU table?
I've tried a number of code strings, and don't know if I'm fighting
syntax or trying to do something that can't be done....
Any guidance would be appreciated.
Thanks,
Patrick