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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select text onfocus of field in Data Access Page

Status
Not open for further replies.

GPM4663

Technical User
Aug 9, 2001
165
GB
Hi Everyone,
I have what I think is a really simple problem on a DAP that I am developing. I want the cursor to select the existing text when the user tabs into a certain field so that they can just type over it instead of having to delete what is currently in there. I have tried to use the onfocus event with the command "field.select" but it doesn't work. Does anyone have any ideas?

thanks

GPM
 
Hi There,
I've not been having any success using selstart and sellength with vbscript in Data Access Pages. Could you give me a couple of examples of how I should be using them in DAPs or if you have any other ideas I would really appreciate it.

thanks

GPM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top