Set focus - the basics
Reader1 wrote:
"Rick Brandt" wrote in message
et...
Forms have *controls*, not *fields*. If your control (TextBox,
ComboBox, etc..) is named "gamma" then you would use...
Me.gamma.SetFocus
Sorry !
I meant controls really I did !
Where exactly do I put this text though ?
It's a line of VBA code so you put it in an event procedure that runs when
you want the focus to be set. When do you want this to happen?
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
|