Search found 110 matches: aduseclient

Return to advanced search

connecting SQL SERVER VIA ODBC PROLEM

... de Pedidos!", oApp:cAplicacion) ShowError(oError) orsPed := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsped:source:="SELECT * FROM ERP6_base" // ENVIAMOS QUERY ...
by MANOLO
Mon Jan 29, 2024 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: connecting SQL SERVER VIA ODBC PROLEM
Replies: 0
Views: 330

Re: CONEXION ADODB SQL SERVER

... de Pedidos!", oApp:cAplicacion) ShowError(oError) orsPed := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsPed:Source :="select * from BasedeDatos" orsPed:ActiveConnection( ...
by MANOLO
Mon Jan 29, 2024 5:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 290

CONEXION ADODB SQL SERVER

... de Pedidos!", oApp:cAplicacion) ShowError(oError) orsPed := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsped:source:="SELECT * FROM ERP6_base" // ENVIAMOS QUERY ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 290

CONEXION ADODB SQL SERVER

... de Pedidos!", oApp:cAplicacion) ShowError(oError) orsPed := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsped:source:="SELECT * FROM ERP6_base" // ENVIAMOS QUERY ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 0
Views: 146

Re: FW_OpenRecordSet lento en red

... information to all of u: Whatever value we specify for oRs:CursorType, ADO invariably opens the recordset as adOpenStatic only for CursorLocation adUseClient. There is not point in assigning a value like adOpenKeySet or adOpenDynamic
by nageswaragunupudi
Mon Dec 18, 2023 6:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_OpenRecordSet lento en red
Replies: 8
Views: 617

Re: No puedo moverme por un RecordSet

Hola Carlos el recordset se abre en modo adUseClient (modo 3) como puedes ver en el modulo, y adLockOptimistic, el problema surge cuando despues de recorrer y grabar el primer registro del recordset, ya no se puede mover hacia ningun lado, da ...
by Pedro
Mon Oct 02, 2023 2:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No puedo moverme por un RecordSet
Replies: 4
Views: 363

Re: Request : new PostgreSQL OLEDb-Provider

but "save" seems not work

Try inline edit.

Any valid ADO recordset is recognized as RecordSet.

To start with just use
Code: Select all  Expand view
XBROWSER oRs FASTEDIT


Try to add CursorLocation of connection object also as adUseClient.'
by nageswaragunupudi
Tue Sep 19, 2023 2:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request : new PostgreSQL OLEDb-Provider
Replies: 11
Views: 697

Re: Error in FW_ArrayAsRecordSet Seek - Please help

... .f. This is a synthetic recordset and has no server and no physical table and no physical indexes. So this recordset's CursorLoction property is adUseClient. Even oRs:ActiveConnection is NIL, because this is not connected to any server. Being a profuse user of indexes and seek, you are aware ...
by nageswaragunupudi
Tue Aug 08, 2023 6:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in FW_ArrayAsRecordSet Seek - Please help
Replies: 6
Views: 359

ADO: ACTUALIZAR CAMPO DE SELECT DE 02 TABLAS MSSQL

... oRsDir := TOleAuto():New( "ADODB.RecordSet" ) WITH OBJECT oRsDir :ActiveConnection := oApp:oCon :Source := cSql :CursorLocation := adUseClient :LockType := adLockOptimistic :CursorType := adOpenDynamic TRY :Open() CATCH FW_ShowAdoError( oApp:oCon ) END END oRsDir:Properties("Unique ...
by Angel Miguel
Sun Apr 19, 2020 5:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADO: ACTUALIZAR CAMPO DE SELECT DE 02 TABLAS MSSQL
Replies: 5
Views: 873

Re: Insertar registros en un Dbf desde tabla MSAccess

... ) CATCH oError MsgStop( "No se ha podido crear el OBJETO"+ oError:Description ) RETURN .F. END oRSet:CursorLocation:=adUseClient;oRSet:LockType:=adLockReadOnly;oRSet:CursorType:=adOpenForwardOnly;oRSet:ActiveConnection( oConnection ) sSQLQuery := "SELECT * FROM ...
by RBLANCO
Tue Apr 16, 2019 11:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar registros en un Dbf desde tabla MSAccess
Replies: 3
Views: 762

Re: Error from ADO

CursorLocation 1 adUseNone (Obsolete and does not work) 2. adUseServer (Can not navigate and is not useful for us) 3. adUseClient : This is the only choice we have LockType: 1. adLockUnspecified (not to be used for new recordsets) 2. adLockReadOnly : This is not what you want when ...
by Horizon
Sat Aug 18, 2018 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: Error from ADO

CursorLocation 1 adUseNone (Obsolete and does not work) 2. adUseServer (Can not navigate and is not useful for us) 3. adUseClient : This is the only choice we have LockType: 1. adLockUnspecified (not to be used for new recordsets) 2. adLockReadOnly : This is not what you want when ...
by nageswaragunupudi
Fri Aug 11, 2017 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: Error from ADO

... FALSE Try If lNew // New way... // Suggested by Rick Lipkin from the FW Tech Board. oRs:CursorType := 1 // adOpenKeyset oRs:CursorLocation := 3 // adUseClient oRs:LockType := 3 // adLockOptimistic Else oRs:CursorType := adOpenDynamic oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic ...
by byron.hopp
Thu Aug 10, 2017 3:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: ADO : doesn't work anymore

... the recordset. In other words, it is just useless and meaningless for us to specify a cursor type while openining a recordset with cursorlocation adUseClient. This has been the behavior since ADO was created. There is nothing surprising or unusual about it. Again, it is not that ADO was made like ...
by nageswaragunupudi
Mon Nov 07, 2016 12:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO : doesn't work anymore
Replies: 2
Views: 684

Re: xBrowse improvement

... called a server-side cursor when these resources are located on the server. Client-Side Cursors In ADO, call for a client-side cursor by using the adUseClient CursorLocationEnum. With a non-keyset client-side cursor, the server sends the entire result set across the network to the client computer. ...
by Rick Lipkin
Wed Apr 13, 2016 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse improvement
Replies: 2
Views: 596
Next

Return to advanced search