Remove vertical line on form

  • Thread starter Thread starter XP
  • Start date Start date
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.
 
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
 
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.
 
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.
 
Back
Top