Remove vertical line on form

X

XP

Using Office 2003 and Windows XP;

There is a built-in vertical line running down the left side of my bound
forms with a right pointing triangle at the top. I want record selection and
scrolling, but I don't want this line to show, how can I get rid of it?

Thanks much in advance.
 
D

Dirk Goldgar

XP said:
Using Office 2003 and Windows XP;

There is a built-in vertical line running down the left side of my bound
forms with a right pointing triangle at the top. I want record selection
and
scrolling, but I don't want this line to show, how can I get rid of it?

Thanks much in advance.


That's the record selector. You can turn it off with the form's Record
Selectors property (on the Format tab of the form's property sheet). It has
nothing to do with scrolling, but it does provide a built-in means of
selecting the current record. If you take it away, you can provide your own
mechanism to do that, using the VBA statement:

RunCommand acCmdSelectRecord
 
D

Dirk Goldgar

XP said:
Thanks, DG - would I put that line of code in the OnCurrent event of the
form?


What is it you want to do? That line will select the current record. I
wouldn't think that was something you wanted to do every time the form
displays a record. Most form operations don't require that the record be
selected.
 
X

XP

Gotcha. You are right. I was thinking something else, but now that I set it
in my forms, that's exactly what I needed. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top