Search found 54 matches: adopenkeyset

Return to advanced search

Re: FW_OpenRecordSet lento en red

... 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: 615

Re: Error from ADO

... This is the only choice we have CursorType: 0. adOpenForwardOnly : Works only with adUseServer and in anycase this is not what we want 1. adOpenKeyset : Whether we like or not this work only with adUseServer 2. adOpenDynamic : This also does not work with adUseClient 3. adOpenStatic: This ...
by Horizon
Sat Aug 18, 2018 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3499

Re: Error from ADO

... This is the only choice we have CursorType: 0. adOpenForwardOnly : Works only with adUseServer and in anycase this is not what we want 1. adOpenKeyset : Whether we like or not this work only with adUseServer 2. adOpenDynamic : This also does not work with adUseClient 3. adOpenStatic: This ...
by nageswaragunupudi
Fri Aug 11, 2017 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3499

Re: Error from ADO

... Local e := nil Default lNew := 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 := ...
by byron.hopp
Thu Aug 10, 2017 3:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3499

Re: ADO RDD xHarbour

... found out that the problem is with cursorlocation because with ACCESS aduseclient you can not :update() so I've change it to adUseServer but with adOpenKeyset because with adOpenDynamic ACCESS also does not work correctly. In my tests with MYSql everything its ok. Also since locks are enforced ...
by AHF
Wed May 06, 2015 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446239

Re: ADO question: Access is not refresing properly

Lucas,

lucasdebeltran wrote:


No effect, the same problem .

Thanks.


Did you read the article? This is expected behavior for adOpenKeySet:

you can't see records that other users add


EMG
by Enrico Maria Giordano
Sun Jun 23, 2013 7:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question: Access is not refresing properly
Replies: 10
Views: 2830

ADO RecordSet: What is the best CursorType to use?

What is the most desirable cursor type to use while opening a Recordset in ADO? adOpenKeySet or adOpenDynaic or adOpenStatic? We almost always open RecordSet on client side, using CursorLocation as adUseClient (3) Brief note on CursorLocation: It is not necessary ...
by nageswaragunupudi
Mon Jun 17, 2013 3:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RecordSet: What is the best CursorType to use?
Replies: 2
Views: 1026

Re: ADO MYSQL se cae con 2 usuarios modificando mismo registro

... issue. If the Update fails, ReQuery() the recordset, inform the user about the concurrency issue and offer to re-edit. Note on: oRS :CursorType := adOpenKeyset When we open a recordset on the client side (this is what we should do) there is no use of assigning any values like adOpenKeyset or adOpenDynamic. ...
by nageswaragunupudi
Fri Oct 14, 2011 3:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO MYSQL se cae con 2 usuarios modificando mismo registro
Replies: 3
Views: 1150

ADO MYSQL se cae con 2 usuarios modificando mismo registro

... oRS :CursorLocation := adUseClient oRS :LockType := adLockOptimistic <------------ TIPO DE BLOQUEO oRS :CursorType := adOpenKeyset oRs:ActiveConnection(oCon) oRs:Source := "SELECT * FROM clientes ORDER BY NomCuenta "
by lafug
Thu Oct 13, 2011 5:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADO MYSQL se cae con 2 usuarios modificando mismo registro
Replies: 5
Views: 2608

ADO MYSQL se cae con 2 usuarios modificando mismo registro

... oRS :CursorLocation := adUseClient oRS :LockType := adLockOptimistic <------------ TIPO DE BLOQUEO oRS :CursorType := adOpenKeyset oRs:ActiveConnection(oCon) oRs:Source := "SELECT * FROM clientes ORDER BY NomCuenta "
by lafug
Thu Oct 13, 2011 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO MYSQL se cae con 2 usuarios modificando mismo registro
Replies: 3
Views: 1150

Re: Nuevo usando ADO.

... en casi todos lados encuentro este codigo WITH OBJECT oRs :CursorLocation := 3 //AdUseClient :LockType := 3 //adLockOptimist :CursorType := 2 //adOpenKeyset :Source := cSql :ActiveConnection( oCn ) END pero a mi no me funciona asi, me da error de argumentos en :activeconnection, pero si lo cambio ...
by Simon
Thu Dec 09, 2010 2:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo usando ADO.
Replies: 10
Views: 3313

Re: twbrowse+mysql utilizando recordset é possivel

... o ID da conexão atualmente ativa PRIVATE oRs := TOLEAUTO():New("adodb.recordset") oRs:LockType := adLockOptimistic oRs:CursorType := adOpenKeyset oRs:CursorLocation := adUseClient oRs:ActiveConnection(nID) oRs:Source := "Select * from catalogo" Isso é possível ? Se não, ...
by MGA
Tue Jul 27, 2010 11:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: twbrowse+mysql utilizando recordset é possivel
Replies: 12
Views: 5008

Re: twbrowse+mysql utilizando recordset é possivel

... PRIVATE oRs := TOLEAUTO():New("adodb.recordset") oRs:LockType := adLockOptimistic oRs:CursorType := adOpenKeyset oRs:CursorLocation := adUseClient oRs:ActiveConnection(oCon) oRs:Source := "Select * from catalogo" oRs:Open() Public oDlg, Public ...
by Ramon Paredes
Mon Jul 26, 2010 11:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: twbrowse+mysql utilizando recordset é possivel
Replies: 12
Views: 5008

Re: ADO não funciona o RecordCount()?

... .f. END //Configuramos el recordset que manejara la tabla oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:CursorType := adOpenKeyset//adOpenDynamic oRs:Source := "SELECT * FROM imovweb; " oRs:ActiveConnection(oCn) //Ahora si cargamos los datos en el recordset ...
by sjingo
Wed Mar 17, 2010 10:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADO não funciona o RecordCount()?
Replies: 8
Views: 2749

Re: BROWSE com muitos registros - MYSQL remoto

... al tipo será más lento o más velóz. ******************* Tipo de cursor: adOpenForwardOnly,sólo permite desplazarse hacia adelante en los registros AdOpenKeyset, Igual que un cursor dinámico, excepto que no se pueden ver los registros que agregan otros usuarios adOpenDynamic, Las incorporaciones, ...
by sjingo
Thu Mar 04, 2010 3:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BROWSE com muitos registros - MYSQL remoto
Replies: 14
Views: 3981
Next

Return to advanced search