Full Version: All TextBoxes on Form
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
fcmsb13
Hi I have a large form with about 200 text boxes. I would like to have it so everytime I click into a textbox it selects all in that box. I found code to put on the click event but that would mean I would have to do this to every textbox.
CODE
[Text71].SelStart = 0
[Text71].SelLength = Len([Text71].Text)
Is there an easier way???
freakazeud
Hi,
sure...set the option globally under tools--options--keyboard tab...
HTH
Good luck
fcmsb13
hmm that doesnt seem to be working. I am checking off "Select Entire Field" under Behavior entering field, and when i click in the box it doesnt select all text.

Edited by: fcmsb13 on Wed Jan 31 15:49:51 EST 2007.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.