R
Ripper
Access 03 200 format
Using an OnClick event from a text box, I open a new form (frmDHall-Add)
from a subform (frmDiscipline!subDisciplineReferral). I want to pass 2
values to frmDhall-Add from the subform LocID (6 digit number) and DhallID
(AutoNum).
I tried using the docmd.openform DoCmd.OpenForm "frmDhallAddDisc", , ,
"[DHallID] =" & Me.[DHallID] and "[LocID] =" & Me.LocID
Neither value populates the new form that is opening. Does anyone know why?
Using an OnClick event from a text box, I open a new form (frmDHall-Add)
from a subform (frmDiscipline!subDisciplineReferral). I want to pass 2
values to frmDhall-Add from the subform LocID (6 digit number) and DhallID
(AutoNum).
I tried using the docmd.openform DoCmd.OpenForm "frmDhallAddDisc", , ,
"[DHallID] =" & Me.[DHallID] and "[LocID] =" & Me.LocID
Neither value populates the new form that is opening. Does anyone know why?