Returns the last Error Code. Test this value any time a registration fails to determine the reason why. If no error then LastError returns 0.
Syntax:
object.LastError [= value]
The LastError property syntax has these parts:
Part | Description |
Object | An object expression that evaluates to an RedRegistration object |
Value | A long expression containing the last error that occurred. |
Remarks
This property is read-only and is available only at runtime. Any time a registration function fails, test this property to determine the reason for failure.
Data Type
LONG