I have a form with a datasheet subform and need to allow the user to select a row in the datasheet and then click on a button to load that record into a new form.
Since the subform is a datasheet, I can't put a button on it to load the item into the new form so I need to have the button on the main form, but have been unable to get it to work.
In the macro, the form to load is frmCoreCDRL where ="[CDRL_ID]=" & [CDRL_ID]. The subform name is frmFindCDRLsbyDID. Is there a way to add the subform name into the macro to tell it to load the record in frmCoreCDRL where CDRL_ID equals the CDRL_ID on frmFindCdRLsbyDID?
Thanks in advance.
Since the subform is a datasheet, I can't put a button on it to load the item into the new form so I need to have the button on the main form, but have been unable to get it to work.
In the macro, the form to load is frmCoreCDRL where ="[CDRL_ID]=" & [CDRL_ID]. The subform name is frmFindCDRLsbyDID. Is there a way to add the subform name into the macro to tell it to load the record in frmCoreCDRL where CDRL_ID equals the CDRL_ID on frmFindCdRLsbyDID?
Thanks in advance.