Xbasic
DatabaseBegin Function
Syntax
DatabaseBegin(Context as P, Action as C, TablesExpected as N)
Arguments
- ContextPointer
The object on which the function is called (generally a DatabaseSnapshot object)
- ActionCharacter
The action being performed. Will be one of the following values: Load, Store, LoadDBF, or StoreDBF.
- TablesExpectedNumeric
The number of tables to be updated.
Description
Called when a batch of updates is about to be processed for a database. This event is useful for displaying a progress/cancel dialog.
Example
FUNCTION DatabaseBegin(Context as P, Action as C, TablesExpected as N) Statusbar.Set_Text("Database " + Action + " beginning. " + TablesExpected + " tables expected.") END FUNCTION