Dear access users,
Normally we change the text on a command button with the next source:
Forms![FrmHead]![Command1].Caption = “Test”
Is it possible, with the help of a variable, to point to the object ‘Command1’
For example:
StrA = ”Command1”
Forms![FrmHead]![strA].Caption = “Test”
This don’t works, can someone give any source to do this?
Nice regards,
Michelle
Normally we change the text on a command button with the next source:
Forms![FrmHead]![Command1].Caption = “Test”
Is it possible, with the help of a variable, to point to the object ‘Command1’
For example:
StrA = ”Command1”
Forms![FrmHead]![strA].Caption = “Test”
This don’t works, can someone give any source to do this?
Nice regards,
Michelle