set library to fpsql errmsg="" errno=0 h=dbconnect("Address", "Francois", "") if h < 0 x=dbError(0, @errmsg, @errno) ? errmsg, h, x else ? "h=", h endifpart of odbc.ini:
[ODBC Data Sources] Address=Lotus NotesSQL 2.0 (16-bit) ODBC Driver (*.nsf) [ODBC] TraceAutoStop=1 Trace=0 TraceFile=C:\SQL.LOG [Address] Driver=C:\WINDOWS\SYSTEM\NotesSQL.dll Description= Server= Database=c:\notes\data\names.nsf MaxVarcharLen=254 MaxSubquery=20 MaxStmtLen=4096 MaxRels=20 MaxLongVarcharLen=512 KeepTempIdx=0 ShowImplicitFlds=0 MapSpecialChars=YAny help or suggestion would be greatly apreciated. TIA