checkserverconnection(
SERVER
)

The checkserverconnection( function checks to see if the specified server is connected.


Parameters

This function has one parameter:

server – name of the server to check. If empty, then use the server associated with the current database


Description

This function tests the connection to the specified server. It returns true if the connection is ok, false if there is a problem.

if checkserverconnection("Company Server")=false()
    alertsheet "Sorry, server is not connected."
    return
endif

Note: This function tests the connection by sending a ping to the server. If the server responds to the ping, the connection is ok.


See Also


History

VersionStatusNotes
10.2NewNew in this version.