Indicates whether the current work area is using the Advantage Database Server
Syntax
AX_UsingClientServer() -> logical
Returns
AX_UsingClientServer returns a .T. if the current Advantage work area is accessing the Advantage Database Server. Returns .F. if the current Advantage work area has opened the database file using the local RDD.
Description
AX_UsingClientServer indicates whether the current Advantage work area is accessing the Advantage Database Server in "client/server" mode.
Example
oDB1 := AxDBServer{ "TEST1", .F., .F., "AXDBFNTX" }
if AX_UsingClientServer()
? "File open in Client/Server mode."
else
? "Warning: File opened in Local mode."
endif