Click or drag to resize

VoDbAppend Function

X#
Add a new record.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION VoDbAppend(
	lReleaseLocks AS LOGIC
) AS LOGIC
Request Example View Source

Parameters

lReleaseLocks
Type: Logic
TRUE clears all pending record locks, then appends the next record. FALSE maintains all pending record locks, adding new records to the end of the lock list.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
VODBAppend() is like DBAppend() but is strongly typed.
This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded.
The global structure, StrucErrInfo, will contain needed information regarding any error that occurs. See DBAppend() for more information and examples.
Examples