AllowAddNew Property

Returns/Sets whether or not to allow users to add new records.


Syntax

object.AllowAddNew [=  value ]

The syntax of the AllowAddNew Property has these parts:

PartDescription
objectA DGrid control.
value  A boolean expression that determines if the AddNew record incicator is displayed on the grid (True), or is hidden (False).

Remarks

If this property is changed after a recordset is loaded, call the Refresh method to reset the grid.

Data Type

Boolean