G
Guest
Hi all,
Am used to Visual.net where one can write to a text box on the form with:
Me.BoxCount1.Text = "Box Count is 14 blah blah blah"
(where BoxCount1 is a text box or label)
but when I set this up in programming the code in a Private Sub of a button
click in Access it returns:
Error 2185 : Can not reference a Property or Method for a control unless the
control has the focus.
The button click kicks off a variety of calcs and I want to write a variety
of results to various unbound textboxes on the form....such as BoxCount1.
Code works ok - just not sure how one sends the result back as basic text
messages to the Form in regard to this focus issue.
Would appreciate some advice on this method....thnx...
Am used to Visual.net where one can write to a text box on the form with:
Me.BoxCount1.Text = "Box Count is 14 blah blah blah"
(where BoxCount1 is a text box or label)
but when I set this up in programming the code in a Private Sub of a button
click in Access it returns:
Error 2185 : Can not reference a Property or Method for a control unless the
control has the focus.
The button click kicks off a variety of calcs and I want to write a variety
of results to various unbound textboxes on the form....such as BoxCount1.
Code works ok - just not sure how one sends the result back as basic text
messages to the Form in regard to this focus issue.
Would appreciate some advice on this method....thnx...