Search found 25 matches: xpassword

Return to advanced search

FW_OpenAdoConnection reconnect

... 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!
by cdmmaui
Wed Dec 13, 2023 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_OpenAdoConnection reconnect
Replies: 6
Views: 537

Re: xBrowse jpg in SQL-database

... opportunistic // Init xCONNECT := 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xDATABASE+';User Id='+xUSERID+';Password='+xPASSWORD aImages := Directory( cCft + "*.*" ) FOR nX1=1 TO LEN(aImages) cTemp := aImages[nX1,1] cItem := "" oSay:SetText( LTRIM( ...
by cdmmaui
Fri Nov 08, 2019 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse jpg in SQL-database
Replies: 19
Views: 2993

Re: Import Chinese Characters from XLS

... Web Freight Data Integration" xPROVIDER := "SQLOLEDB" xSOURCE := "x" xDATABASE := "x" xUSERID := "x" xPASSWORD := "x" // Init... SET DATE FORMAT TO 'mm/dd/yyyy' SET EPOCH TO 1980 SET EXCLUSIVE OFF SET DELETED ON SET DECIMALS TO 2 // Unicode ...
by cdmmaui
Thu Feb 21, 2019 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import Chinese Characters from XLS
Replies: 4
Views: 948

Re: Multiple Dimension Array in Combobox

... TRY oSqlLoad:Open( cSqlLoad, 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xDATABASE+';User Id='+xUSERID+';Password='+xPASSWORD ) CATCH oError MsgInfo("Failed to Connect to the Database" + cEol + cSqlLoad + cEol + oError:Description, Ptitle ) RETURN .F. END ...
by joseluisysturiz
Sun May 27, 2018 2:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Dimension Array in Combobox
Replies: 24
Views: 4013

Re: Multiple Dimension Array in Combobox

... TRY oSqlLoad:Open( cSqlLoad, 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xDATABASE+';User Id='+xUSERID+';Password='+xPASSWORD ) CATCH oError MsgInfo("Failed to Connect to the Database" + cEol + cSqlLoad + cEol + oError:Description, Ptitle ) RETURN .F. END ...
by cdmmaui
Sat May 26, 2018 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Dimension Array in Combobox
Replies: 24
Views: 4013

MS SQL Dumb Question

... lock opportunistic // Init... xSQL := 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xCATALOG+';User Id='+xUSERID+';Password='+xPASSWORD // Message.. oSay:SetText( "Checking for CBP ACE AES Response Messages . . ." ) Sysrefresh() // USCS... cMask := "*.*" ...
by cdmmaui
Tue May 10, 2016 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS SQL Dumb Question
Replies: 0
Views: 422

XML Read Problems

... ; xPROVIDER := "SQLOLEDB" , ; xSOURCE := "9.9.9.9" , ; xDATABASE := "DB-NAME" , ; xUSERID := "USERID" , ; xPASSWORD := "PASSWORD" , ; cOperations := "<operations@cdmsoft.com>" , ; cPath := 'c:\data\' , ; lAds := .F. , ; cRevised ...
by cdmmaui
Tue Apr 26, 2016 1:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML Read Problems
Replies: 1
Views: 1055

Problem connecting to MSSQL 2008R2 via Windows Auth.

... := "SQLOLEDB" xDATABASE := "MobileFrame" , ; xSOURCE := "192.168.1.11" xUSERID := "DOMAIN\UserName" xPASSWORD := "Password" xSQL := 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xDATABASE+';User Id='+xUSERID+';Password='+xPASSWORD ...
by cdmmaui
Mon Oct 28, 2013 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem connecting to MSSQL 2008R2 via Windows Auth.
Replies: 2
Views: 696

Re: SqlQuery and Microsoft.ACE.OLEDB.12.0 error

... accDb is in the same folder ... xPROVIDER := "Microsoft.Jet.OLEDB.4.0" xSOURCE := cLocation+"\Groom.mdb" // legacy ms access xPASSWORD := "xxxxxxxxx" xSTRING := 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Jet OLEDB:Database Password='+xPASSWORD Rick Lipkin
by Rick Lipkin
Sun Oct 13, 2013 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SqlQuery and Microsoft.ACE.OLEDB.12.0 error
Replies: 14
Views: 3755

Re: string connection MS Access

if I used function
oCon := FW_OpenAdoConnection( xSOURCE + "," + xPASSWORD)

the database opened good, but the function FW_OpenRecordSet can't open the table

cSQL:="select idklienta, nazwa, adres, nip from Klienci"
oRes := FW_OpenRecordSet( oCon, cSQL )

best regards
kajot
by kajot
Fri Aug 23, 2013 6:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: string connection MS Access
Replies: 19
Views: 3678

Re: string connection MS Access

Please use:
oCon := FW_OpenAdoConnection( { xSOURCE, xPASSWORD } )

or

oCon := FW_OpenAdoConnection( xSOURCE + "," + xPASSWORD)
by nageswaragunupudi
Wed Aug 21, 2013 10:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: string connection MS Access
Replies: 19
Views: 3678

Re: string connection MS Access

thanks for answer but if I use cPath := cFilePath( ExeName() ) xSOURCE := cPATH+"waga.mdb" xPASSWORD := "123456" oCon := FW_OpenAdoConnection( xSOURCE,xPASSWORD) cSQL:="select idklienta, nazwa, adres, nip from Klienci" oRes := FW_OpenRecordSet( ...
by kajot
Wed Aug 21, 2013 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: string connection MS Access
Replies: 19
Views: 3678

Moving DBFCDX to MS SQL

... TRY oSql:Open( cSql, 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xCATALOG+';User Id='+xUSERID+';Password='+xPASSWORD ) CATCH oError MsgWait("Failed to Connect to the Database") RETURN (.F.) END MsgInfo( oSql:RecordCount ) 2. Can I use same oSql ...
by cdmmaui
Mon Mar 25, 2013 3:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Moving DBFCDX to MS SQL
Replies: 2
Views: 641

Refresh SQL Select in Listbox

... * FROM mr" TRY oSql:Open( cSql, 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xDATABASE+';User Id='+xUSERID+';Password='+xPASSWORD ) CATCH oError MsgWait("Failed to Connect to the Database") RETURN .F. END MsgWait( LTRIM(STR(oSql:RecordCount,9)) ) oLbx:Disable() ...
by cdmmaui
Wed Aug 22, 2012 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh SQL Select in Listbox
Replies: 5
Views: 1313

... TRY oRsProj:Open( cSQL,'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xCATALOG+';User Id='+xUSERID+';Password='+xPASSWORD ) CATCH oErr MsgInfo( "Error in Opening PROJECT table" ) oDlg:End() RETURN(.F.) END TRY SysReFresh() oDLG:END()
by Rick Lipkin
Wed Aug 06, 2008 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO Sql Query limitations ??
Replies: 1
Views: 740
Next

Return to advanced search