Tests ODBC connectivity and creates log file in application folder. Returns true if succeeded.
First it opens a dialog "Database Connection" dialog. Choose a data source from the popup.
FUNCTION DBDiagnose : BOOLEAN;
def vs.DBDiagnose():
return BOOLEAN
PROCEDURE Test;
VAR
isOK : BOOLEAN;
BEGIN
isOK := DBDiagnose;
END;
Run(Test);
import vs
def Test():
vs.DBDiagnose()
Test()
Availability: from Vectorworks 2015