Salesforce

ClientDbDiscnt (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

ClientDbDiscnt (Magic xpa 2.x)

This client-side function receives a database as a parameter and disconnects the current connection of that database. The ClientDbDiscnt function is relevant only for local databases.

Syntax:

ClientDbDiscnt(database name)

Parameters:

database name – An Alpha string containing the database name.

Returns:

Boolean (True, False).
Returns True when the Disconnect operation has succeeded, and False when the Disconnect operation has not succeeded or when there is no connection to disconnect.

Usage:

Disconnect from the local database in order to replace it with another database file (using ServerFileToClient) after a connection was already created.

Note:

To disconnect from a server database, see DbDiscnt.

Example:

ClientDbDiscnt('Local'), where Local is the local database's name defined in the Database repository.

Since version:

2.4b

Reference
Attachment 
Attachment