View Full Version : New Records


JJT
10-31-2001, 04:29 AM
I have a form with a command button that adds a new record. My problem is that after
I get the new record, I have to click into the first field before I can begin data entry. How can I get the cursor to begin in the first field ?

Rich_Lovina
10-31-2001, 04:39 AM
In Form design, you can open properties box and go to your tab options. Tab stop =yes for those you want to enter data in, otherwise no. Then you can also set your tab no order.

If you have 9 tabstops = yes, then at the last one tab twice and your new blank record appears. Also look at your help tab, tab stop etc.

bill crumpton
10-31-2001, 05:59 PM
JJT,
Just add the following code to the "Add New Record" command button:

me.yourfieldname.setfocus

This will work for you.

BAC