Try with SQLSetProp("DispLogin",3), use AERROR() to catch the password expired error.
SQLSETPROP(0,"DispLogin",3)
lnHandle=SQLSTRINGCONNECT(lcStringConn)
IF lnHandle > 0
?SQLTABLES(lnHandle,"TABLES")
brow
SQLDISCONNECT(lnHandle)
ELSE
=AERROR(laError)
MESSAGEBOX("Connection Error"+CHR(13)+;
"Description:"+laError[2])
ENDIF
HTH
>HI,
>Is there a way to invoke/force the change password dialog box from Fox Pro with a SQLSetprop or something like that? There is a dialog box that comes up if the user password is expired, and we would like to invoke that dialog box on request as well.
>Thank you Cicilia