VACommand
Description
You can use the VACommand to execute common operations on the data source file when the button is clicked at run time.
Remarks
The VACommand is bound to a data source by setting the VAccessName property at design time or run time.
The VAOperation property determines what operation will be performed when the button is clicked at run time.
If the VAOperation property specifies a record retrieval operation, you can use the VALockBias property to lock the record when it is retrieved. The VALockBias property has no effect on Open, Close, Insert, and Update operations.
The VAErrorDialog property enables or disables the display of a text message to the user if the operation performed by the control returns an error.
*Note: The Click event executes the code in the VACommand_Click subroutine before the PSQL operation specified in the VAOperation property is executed.
Custom Properties
Custom properties for this control are listed in the following table: