View Full Version : text cursor


rupes_mahal
08-21-2001, 05:40 AM
hi..

I have a form which has users details in it. I can add new users by clicking on the Add command button. When i click the Add button, a new empty record appears. But I cant see the text cursor anywhere, until i actual click on a field myself. I want the first field to have the text cursor in it for me to start typing.

Please help

Thank you in advance
Ruby

D-Fresh
08-21-2001, 05:46 AM
add the following to your Add Record button after you create the new record...

me!Field_Name.setfocus

This should place the focus on your wanted field. Hope this helps.

Doug

rupes_mahal
08-22-2001, 12:19 AM
Doug..

It worked, thank you

Ruby