Syntax 1: For synchronization without parameters
Description
Starts synchronization between a remote and consolidated
database.
Applies to
MLSynchronization, MLSync controls
Syntax
|
1 |
SyncObject.Synchronize ( ) |
|
Argument |
Description |
|---|---|
|
syncObject |
The name of the synchronization object. |
Return value
Integer.
Returns 1 for success and -1 for failure. Any other return value
is an error code from dbmlsync.
Examples
If all the properties of a synchronization object are initialized,
including userids and passwords, it is ready for immediate use. To
launch a synchronization requires very little coding, as in the
following example for an MLsync object named “nvo_my_mlsync”:
|
1 2 3 4 5 |
nvu_my_mlsync mySync Long rc mySync = CREATE nvo_my_mlsync mySync.Synchronize() destroy mySync |
You would typically add the above code to the Clicked event for a
menu item or a command button on an application window.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest