perfectchaoss
Programmer
Hi,
I am working on a form with multiple input fields, every time I want to set a
variable = txtMyTextBox
I have to first
Me!txtMyTextBox.setfocus
Or else i get the message: "you can't reference a property or method for a control unless the control has focus"
It works but is is kind of annoying doing it for every time I want to get a value or display a calculated field. Does anyone know an easier way to do this or another work around? Or is Settingfocus for each text box the only way?
It is also causing problems when I want to set a hidden field equal to a value.
thanks,
JF
I am working on a form with multiple input fields, every time I want to set a
variable = txtMyTextBox
I have to first
Me!txtMyTextBox.setfocus
Or else i get the message: "you can't reference a property or method for a control unless the control has focus"
It works but is is kind of annoying doing it for every time I want to get a value or display a calculated field. Does anyone know an easier way to do this or another work around? Or is Settingfocus for each text box the only way?
It is also causing problems when I want to set a hidden field equal to a value.
thanks,
JF