Is this possible to do?
For example my form name is frmBogus Field name is fldBogus. So normally I would reference its properties like this:
Would it be possible to reference these properties with varibles?
Example:
I know this isn't possible, but you now know what I want to accomplish. Anyone know how to do it like this or know of another way to get it done?
Thanks,
Eric
For example my form name is frmBogus Field name is fldBogus. So normally I would reference its properties like this:
Code:
[Forms]![frmBogus]![fldBogus].SetFocus
Example:
Code:
Dim stFormName As String
Dim stFieldName As String
stFormName = "frmBogus"
stFieldName = "fldBogus"
[Forms]![stFormName]![stFieldName].SetFocus
Thanks,
Eric