True if Microsoft Access prints only the data from a table or query in Datasheet View and not the labels, control borders, gridlines, and display graphics. Read/write Boolean.
Syntax
expression.DataOnly
expression A variable that represents a Printer object.
Example
The following example sets a variety of printer settings for the form specified in the strFormname argument of the procedure.