Search found 77 matches: adlockoptimistic

Return to advanced search

Re: Problema super raro (SOLUCIONADO)

... Conceptos.CON_RUB " +; "AND " +; "WRK_CON = Conceptos.CON_NUM " +; "ORDER BY " +; "WRK_ROW" ,cTabNam ,adLockOptimistic,adOpenDynamic,0) <============ [code] It seems silly but it was stupid. I apologize, again Best regards
by Armando
Thu Mar 28, 2024 1:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2118

connecting SQL SERVER VIA ODBC PROLEM

... 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 DE PRUEBA PARA COMPROBAR CONEXIÓN ...
by MANOLO
Mon Jan 29, 2024 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: connecting SQL SERVER VIA ODBC PROLEM
Replies: 0
Views: 327

Re: CONEXION ADODB SQL SERVER

... 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( oApp:oCon ) TRY orsPed:Open() ...
by MANOLO
Mon Jan 29, 2024 5:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 289

CONEXION ADODB SQL SERVER

... 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 DE PRUEBA PARA COMPROBAR CONEXIÓN ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 289

CONEXION ADODB SQL SERVER

... 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 DE PRUEBA PARA COMPROBAR CONEXIÓN ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 0
Views: 146

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 errores de movefirst, recordcout, ...
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

ADO: ACTUALIZAR CAMPO DE SELECT DE 02 TABLAS MSSQL

... "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 Table"):Value ...
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/Modificar registros en ACCESS

... )  If you change it as oRs := FW_OpenRecordSet( oDg, "Marcas" )//ORoRs := FW_OpenRecordSet( oDg, "Marcas", adLockOptimistic )// default lockmode is adLockOptimistic  everything works correctly as expected. First please try it before getting into the next ...
by nageswaragunupudi
Wed Dec 04, 2019 5:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar/Modificar registros en ACCESS
Replies: 5
Views: 869

Re: clarification respect a recordset

It is true that ADO reads the data from the server and holds it in the client's memory. We normally open recordsets using adLockOptimistic . All calls to the methods Update(), Delete() and AddNew( aCols, aVals ) make the changes to the underlying database immediately and are visible ...
by nageswaragunupudi
Sat Aug 31, 2019 4:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: clarification respect a recordset
Replies: 14
Views: 3304

Re: Error from ADO

... : We need to lock each record for modification. Rarely anybody uses it. 5. adLockBatchOptimistic: Useful. But for more advanced users. 4. adLockOptimistic: This is the only choice we have CursorType: 0. adOpenForwardOnly : Works only with adUseServer and in anycase this is not what we ...
by Horizon
Sat Aug 18, 2018 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3501

Re: Error from ADO

... : We need to lock each record for modification. Rarely anybody uses it. 5. adLockBatchOptimistic: Useful. But for more advanced users. 4. adLockOptimistic: This is the only choice we have CursorType: 0. adOpenForwardOnly : Works only with adUseServer and in anycase this is not what we ...
by nageswaragunupudi
Fri Aug 11, 2017 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3501

Re: Error from ADO

... 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 Endif oRs:ActiveConnection ...
by byron.hopp
Thu Aug 10, 2017 3:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3501

Re: ADO SQL VISIBILITY

... may result in wrong results because we lose the benefit of snap-shot query benefits. What we mostly use is RecordSet with adUseClient with either adLockOptimistic or adLockBatchOptimistic. All this is static information as at the time when we executed the query. The recordset does not get updated ...
by nageswaragunupudi
Fri Jun 26, 2015 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO SQL VISIBILITY
Replies: 17
Views: 3481

Re: ADO RDD xHarbour

... mandatory at ADO_OPEN() : oRecordSet:CursorLocation := adUseClient //its slower but has avntages such always bookmaks oRecordSet:LockType := adLockOptimistic
by lucasdebeltran
Fri Apr 03, 2015 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446350

Re: ADO RDD xHarbour

... mandatory at ADO_OPEN() : oRecordSet:CursorLocation := adUseClient //its slower but has avntages such always bookmaks oRecordSet:LockType := adLockOptimistic Thank you.
by lucasdebeltran
Fri Apr 03, 2015 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446350
Next

Return to advanced search