Hi.
I have a FORMA with a BUTTON1 which opens FORMB based on the value of PORTID field as a setlink criteria.
If No record is found during setlinkcriteria , then I would like the PORTID value of FORMA to update(copyto) only 1 of the following fields in FORMB (creating new record): PORTA or PORTZ. In order to deterrmine which field (PORTA or PORTZ) gets updated depends upon the value in the CATEGORY field found in FORMA. The value in CATEGORY would compare against an existing "text1" and "text2" I have in the code portion of the form.
Additionally, FORMB has 2 subforms. SUBFORMPORTA shows current selection for PORTA. And SUBFORMPORTZ shows current record selection for PORTZ.
If, There is no value entered into PORTA I dont want the SUBFORMPORTA table to be visible. Likewise if PORTZ has no value entered, I dont want SUBFORMZ to appear.
FORMA (form)
PORTID (field)
CATEGORY (field)
FORMB (form)
PORTA (field)
PORTZ (field)
SUBFORMPORTA (subform1)
SUBFORMPORTZ (subform2)
Please Advise, thanks
I have a FORMA with a BUTTON1 which opens FORMB based on the value of PORTID field as a setlink criteria.
If No record is found during setlinkcriteria , then I would like the PORTID value of FORMA to update(copyto) only 1 of the following fields in FORMB (creating new record): PORTA or PORTZ. In order to deterrmine which field (PORTA or PORTZ) gets updated depends upon the value in the CATEGORY field found in FORMA. The value in CATEGORY would compare against an existing "text1" and "text2" I have in the code portion of the form.
Additionally, FORMB has 2 subforms. SUBFORMPORTA shows current selection for PORTA. And SUBFORMPORTZ shows current record selection for PORTZ.
If, There is no value entered into PORTA I dont want the SUBFORMPORTA table to be visible. Likewise if PORTZ has no value entered, I dont want SUBFORMZ to appear.
FORMA (form)
PORTID (field)
CATEGORY (field)
FORMB (form)
PORTA (field)
PORTZ (field)
SUBFORMPORTA (subform1)
SUBFORMPORTZ (subform2)
Please Advise, thanks
Comment