But I can only use that if the connection is active according to the help. At the point I want to check for time out if no connection is estblished.
Is there nothing u can put in the connection string for the time out:
my Code
STORE SQLSTRINGCONNECT('DSN=SPTG') to gnConnHandle
IF gnConnHandle <= 0
= MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')
return
ELSE
= MESSAGEBOX('Connection made', 48, 'SQL Connect Message')
ENDIF
Stuart
Stuart Reid
True nobility lies not in being superior to another man, but in being superior to one’s previous self