Search found 28 matches: opendkeyset

Return to advanced search

Error ADODB.Recordset/6 DISP_E_UNKNOWNNAME: ISKINDOF

... cSQL := "SELECT * from Employees order by [Employee]" oRsEmp := TOleAuto():New( "ADODB.Recordset" ) oRsEmp:CursorType := 1 // opendkeyset oRsEmp:CursorLocation := 3 // local cache oRsEmp:LockType := 3 // lockoportunistic TRY oRsEmp:Open( cSQL,xCONNECT ) CATCH oErr MsgInfo( ...
by Rick Lipkin
Wed Mar 01, 2023 10:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error ADODB.Recordset/6 DISP_E_UNKNOWNNAME: ISKINDOF
Replies: 1
Views: 177

MSSQL and XBROWSE

... have to change the CursorType . oRsa:= CREATEOBJECT( "ADODB.Recordset" ) oRsa:LockType := 3 // lockoportunistic oRsa:CursorType := 1 // opendkeyset oRsa:CursorLocation := 3 // local cache * Thanks, Philippe
by Jack
Wed Nov 03, 2021 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSSQL and XBROWSE
Replies: 1
Views: 349

Re: xBrowse jpg in SQL-database

... CATCH MsgWait( "Unable to Load SQL Driver" ) RETURN (.F.) END // Set... oSql:CursorType := 1 // opendkeyset oSql:CursorLocation := 3 // local cache oSql:LockType := 3 // lock opportunistic // Init xCONNECT := 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial ...
by cdmmaui
Fri Nov 08, 2019 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse jpg in SQL-database
Replies: 19
Views: 3038

SQL Update Response

... CATCH MsgAlert("It seems that your PC does not have MDAC installed OR MDAC is corrupted.") RETURN (.F.) END oSql:CursorType := 1 // opendkeyset oSql:CursorLocation := 3 // local cache oSql:LockType := 3 // lock opportunistic cSqlIns := [UPDATE sailing SET ] cSqlIns += [scheduleid='] ...
by cdmmaui
Sat Aug 03, 2019 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SQL Update Response
Replies: 10
Views: 1806

Re: Import Chinese Characters from XLS

... MsgWait("It seems that your PC does not have MDAC installed OR MDAC is corrupted.") RETURN (.F.) END // Set... oSql:CursorType := 1 // opendkeyset oSql:CursorLocation := 3 // local cache oSql:LockType := 3 // lock opportunistic FOR nX1=2 TO nMax // Message... oSay:SetText( "Processing ...
by cdmmaui
Thu Feb 21, 2019 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import Chinese Characters from XLS
Replies: 4
Views: 973

Re: Busqueda SQL

... oRecordSet:ActiveConnection(oCone) oRecordSet:Source := "Select * from clientes Order by RFC" oRecordSet:CursorType := 1 // opendkeyset oRecordSet:CursorLocation := 3 // local cache oRecordSet:LockType := 3 // lockoportunistic oRecordSet:Open() oRecordSet:MoveFirst() oRecordSet:Find("RFC ...
by servicomver
Fri Jul 13, 2018 8:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda SQL
Replies: 15
Views: 3116

Re: Multiple Dimension Array in Combobox

... CATCH MsgWait( "Unable to Load SQL Driver", Ptitle ) RETURN (.F.) END // Set... oSqlLoad:CursorType := 1 // opendkeyset oSqlLoad:CursorLocation := 3 // local cache oSqlLoad:LockType := 3 // lock opportunistic // Set SQL string... cSqlLoad := "SELECT * ...
by joseluisysturiz
Sun May 27, 2018 2:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Dimension Array in Combobox
Replies: 24
Views: 4083

Re: Multiple Dimension Array in Combobox

... CATCH MsgWait( "Unable to Load SQL Driver", Ptitle ) RETURN (.F.) END // Set... oSqlLoad:CursorType := 1 // opendkeyset oSqlLoad:CursorLocation := 3 // local cache oSqlLoad:LockType := 3 // lock opportunistic // Set SQL string... cSqlLoad := "SELECT * ...
by cdmmaui
Sat May 26, 2018 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Dimension Array in Combobox
Replies: 24
Views: 4083

Re: Error from ADO

Bryon How are you creating your oRs Object .. Here are the parameters I use especially a local cache and opendkeyset oRsAcc := TOleAuto():New( "ADODB.Recordset" )oRsAcc:CursorType     := 1        // opendkeysetoRsAcc:CursorLocation := 3        // local ...
by Rick Lipkin
Sat Jul 22, 2017 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3544

MS SQL Dumb Question

... CATCH MsgWait( "Unable to load ACE AES SQL Record Set", Ptitle) RETURN (.F.) END oSqlIns:CursorType := 1 // opendkeyset oSqlIns:CursorLocation := 3 // local cache oSqlIns:LockType := 3 // lock opportunistic TRY oSqlSeek:=TOleAuto():New("ADODB.Recordset") ...
by cdmmaui
Tue May 10, 2016 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS SQL Dumb Question
Replies: 0
Views: 424

ADO question: Access is not refresing properly

... a recordset on demand with sql statement and connection string oRsUser := TOleAuto():New( "ADODB.Recordset" ) oRsUser:CursorType := 1 // opendkeyset oRsUser:CursorLocation := 3 // local cache oRsUser:LockType := 3 // lockoportunistic TRY oRsUser:Open( cSQL, cStr ) oCn := oRsUser:ActiveConnection ...
by lucasdebeltran
Sun Jun 23, 2013 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question: Access is not refresing properly
Replies: 10
Views: 2851

Moving DBFCDX to MS SQL

... not have MDAC installed OR MDAC is corrupted.") RETURN (.F.) END MsgInfo( "ADODB.Recordset OK!") // Set... oSql:CursorType := 1 // opendkeyset oSql:CursorLocation := 3 // local cache oSql:LockType := 3 // lock opportunistic // Set SQL string... cSql := "SELECT * FROM SalesOrderHeader" ...
by cdmmaui
Mon Mar 25, 2013 3:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Moving DBFCDX to MS SQL
Replies: 2
Views: 645

ADO with Oracle

... 'Provider=MSDAORA.1;Data Source=dblocal;User ID=mulyadi;Password=1234' oRs := TOleAuto():New( "ADODB.Recordset" ) oRs:CursorType := 1 // opendkeyset oRs:CursorLocation := 3 // local cache oRs:LockType := 3 // lockoportunistic TRY oRs:Open( cSQL, cConnStr ) CATCH oErr MsgInfo( "Error ...
by Mulyadi
Thu Sep 20, 2012 5:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO with Oracle
Replies: 11
Views: 2066

Refresh SQL Select in Listbox

... MsgWait("It seems that your PC does not have MDAC installed OR MDAC is corrupted.") RETURN (.F.) END // Set... oSql:CursorType := 1 // opendkeyset oSql:CursorLocation := 3 // local cache oSql:LockType := 3 // lock opportunistic // Set SQL string... cSql := "SELECT * FROM mr" ...
by cdmmaui
Wed Aug 22, 2012 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh SQL Select in Listbox
Replies: 5
Views: 1321

Re: Listbox via MS SQL

Darrell I have been using ADO for many years and found when you set up your recordset object to use the opendkeyset, local cache and lockoportunistic options. Most importantly is the Local Cache option which takes your recordset and places it in local memory of the workstation. ...
by Rick Lipkin
Thu Jul 05, 2012 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox via MS SQL
Replies: 6
Views: 1761
Next

Return to advanced search