Hi want I want to do is open a form using vba with the form name being a variable. eg
formnameopen$ = "form1"
DoCmd.OpenForm formnameopen$
And also use it in the code eg
Forms![formnameopen$]![EquipmentID] = selectrecord
My attempts at making this work have failed so any help would be great.
Thanks
formnameopen$ = "form1"
DoCmd.OpenForm formnameopen$
And also use it in the code eg
Forms![formnameopen$]![EquipmentID] = selectrecord
My attempts at making this work have failed so any help would be great.
Thanks