From: bhrosey via AccessMonster.com on 4 May 2010 14:27 I know this is probably really simple, but I need some help, please. When I open a form to enter data, there are several fields on the form....Customer, Part Number, Date, etc...how do I get my cursor to go to the field I want when an operator opens the form? For example, when I open the form, I want the cursor to be in the "Customer" field ready to enter data. Thanks for the help -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/201005/1
From: djsmitherman on 4 May 2010 14:43 Use this code in the OnOpen event for the form: Me.Customer.SetFocus Insert the actual field name where I put 'Customer'. This will work as long as the field is on the main form (not on a subform). bhrosey wrote: >I know this is probably really simple, but I need some help, please. When I >open a form to enter data, there are several fields on the form....Customer, >Part Number, Date, etc...how do I get my cursor to go to the field I want >when an operator opens the form? For example, when I open the form, I want >the cursor to be in the "Customer" field ready to enter data. Thanks for the >help
|
Pages: 1 Prev: datasheet: ¿how to order by the 2nd column of a combobox? Next: unbound forms |