Drawing lines in Access

[Crooked line on a form in Microsoft Access] Lines are very useful in the design of forms and reports but it can be difficult to draw lines that are perfectly straight with the mouse. Lines that are nearly, but not quite, horizontal or vertical look bad because they have jagged steps along them.

There are three ways to make sure that your lines are exactly horizontal (or vertical). Two of them let you add a perfect line to a form or report, use the third when you want to correct a badly-drawn line.

[Microsoft Access line tool] Creating a new line

  • Click on the line tool
  • Click on the form or report.
  • Access will create a short horizontal line on the form or report.
  • Press SHIFT plus left or right cursor key to make the line longer or shorter.

[Microsoft Access line tool] Drawing a new line

  • Click on the line tool.
  • Press the SHIFT key.
  • Hold it down whilst you draw the line.
  • Access will draw a line that's exactly horizontal or vertical.

[Microsoft Access property button] Adjusting an existing line

  • Right-click on the line.
  • Select Properties.
  • The line has Height and Width properties. These define the size of a box on screen and the line runs diagonally across this box.
  • Set the Height property to zero for a horizontal line; set the Width property to zero for a vertical line.

More tips from Alvechurch Data

More tips from Alvechurch Data

Address formats

Storing addresses in a consistent format.

Read More

FoxPro form parameters

Pass parameters to a VFP form as though it were a function

Read More

Access form parameters

Using the OpenArgs property to pass parameters to an Access form.

Read More