M
Mus
I'm trying to put text in an unbound text box in a form as follows:
Me!txtPriority.Text = "Rush"
This is taking place during the On Activate event procedure for a report.
Initially, I got an error message saying the control had to have the focus.
So I tried
Me!txtPriority.SetFocus
Which gave me an error saying something like the command couldn't be
executed. So I tried DoCmd.GotoControl and I got an error saying the command
wasn't available.
I'm missing something obvious - haven't written VBA in a long time.
Me!txtPriority.Text = "Rush"
This is taking place during the On Activate event procedure for a report.
Initially, I got an error message saying the control had to have the focus.
So I tried
Me!txtPriority.SetFocus
Which gave me an error saying something like the command couldn't be
executed. So I tried DoCmd.GotoControl and I got an error saying the command
wasn't available.
I'm missing something obvious - haven't written VBA in a long time.