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

Suppress highlighting of field on datasheet 1

Status
Not open for further replies.

projecttoday

Programmer
Feb 28, 2004
208
US
I have a form with a datasheet subform on it. After pressing a button on the main form, some records appear on the datasheet. The top left cell of the datasheet is highlighted. I'd like to get rid of this. I have tried putting a dummy textbox at the left of the existing fields which does get highlighted when it's visible. But if I drag this column's width into nothing the next column is highlighted. (Right back where I started. Why, I don't know. The dummy field is stil first in the tab stops and it still exists. You just can't see it.) Is there any way to get rid of highlighting on a datasheet?
 

Hi,

You mean you don't want any field should have the focus when the form is opening?

If so, you can set the property "Tab Stop" to NO, for all the textboxes. (but then you won't be able navigate with the tab)

Did it helped?
Ja

 
If you just want the cursor in the field but without the entire field highlighted, do the following:

Go to "Tools" on the menu bar, then "Options".

Select the "Keyboard" tab and where you see "Behaviour Entering Field", click on the "Go to start of field" radio button.

This will allow you to tab between fields, but not have the entire field highlighted.

 
hjgoldstein's solution is the best one I've seen so far. I guess there's no way to suppress the initial highlightin and still have a highlight after you tab into the datasheet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top