Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Form.DatasheetBorderLineStyle Property (Access)

Returns or sets a Byte indicating the line style to use for the border of the specified datasheet. Read/write.

expression .DatasheetBorderLineStyle

expression A variable that represents a Form object.

Valid values are between zero and eight. Values greater than eight are ignored; negative values or values above 255 cause an error.

Value

Description

0

Transparent border

1

Solid

2

Dashes

3

Short dashes

4

Dots

5

Sparse dots

6

Dash-dot

7

Dash-dot-dot

8

Double solid

This example sets the datasheet border line style on the first open form to short dashes. The form must be set to Datasheet View in order for you to see the change.

Forms(0).DatasheetBorderLineStyle = 3 

Show:
© 2015 Microsoft