Search found 1 match: xpassword

Searched query: xpassword

by cdmmaui
Wed Dec 13, 2023 10:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FW_OpenAdoConnection reconnect
Replies: 6
Views: 760

FW_OpenAdoConnection reconnect

... OpenRecordSet call and if it is NOT, is there a way to reestablish connection? Here is my sample code establishing connection.

oCn := FW_OpenAdoConnection( "MSSQL,"+xSOURCE+","+xDATABASE2+","+xUSERID+","+XPASSWORD, .T. )
if oCn == nil
? "Failed to connect to Server"
return nil
endif

Thank you!