I have the following code:
dim strFormName as string
strFormName = "frmTest"
I now want to refer to the form in a module. The code should look something like this:
Forms!strFormName.cmdOutputReport.Caption = "Design"
The syntax is incorrect! What should it be?
Thanks
dim strFormName as string
strFormName = "frmTest"
I now want to refer to the form in a module. The code should look something like this:
Forms!strFormName.cmdOutputReport.Caption = "Design"
The syntax is incorrect! What should it be?
Thanks