Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

placing cursor in a field

Status
Not open for further replies.

ytakbob

Programmer
Jul 20, 2000
105
US
What is the method I can use to specifically place the cursor in a certain field in a form.

if condition is true place cursor in field1


thanks Bob Schmid
bob_schmid@hmis.org
330-746-1010 ext. 1347
 
Never mind - setfocus duh!

Bob Bob Schmid
bob_schmid@hmis.org
330-746-1010 ext. 1347
 
Assuming this is a condition you wish to check in every rcord, you would put your test in the forms on current event which will fire every time a record is activated.

if condition = true then
me.first_field. setfocus
endif
Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
Thansk guys...additional considerations were helpful Bob Schmid
bob_schmid@hmis.org
330-746-1010 ext. 1347
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top