Search found 23 matches: adlockbatchoptimistic

Return to advanced search

Re: Insertar/Modificar registros en ACCESS

Please see your code oRs := FW_OpenRecordSet( oDg, "Marcas", adLockBatchOptimistic )  If you change it as oRs := FW_OpenRecordSet( oDg, "Marcas" )//ORoRs := FW_OpenRecordSet( oDg, "Marcas", adLockOptimistic )// ...
by nageswaragunupudi
Wed Dec 04, 2019 5:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar/Modificar registros en ACCESS
Replies: 5
Views: 869

Insertar/Modificar registros en ACCESS

... veo que en la BD no queda reflejado nada y tampoco da error. Saben que ocurre?. Alguna solución? oRs := FW_OpenRecordSet( oDg, "Marcas", adLockBatchOptimistic ) DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-12 DEFINE WINDOW oDlg MDICHILD OF WndMain() TITLE cTitulo @ 0,0 XBROWSE oBrw ...
by juanjogascem
Tue Dec 03, 2019 10:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar/Modificar registros en ACCESS
Replies: 5
Views: 869

Re: clarification respect a recordset

... ) make the changes to the underlying database immediately and are visible to other users on the network. We can also open the recordset using adLockBatchOptimistic mode. oRs := FW_OpenRecordSet( oCn, cSql, adLockBatchOptimistic )  In this case, all changes including methods Update(), ...
by nageswaragunupudi
Sat Aug 31, 2019 4:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: clarification respect a recordset
Replies: 14
Views: 3319

Re: Error from ADO

... is useful when you read data not to be modified) 3. adLockPessimistic : 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 : ...
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

... is useful when you read data not to be modified) 3. adLockPessimistic : 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 : ...
by nageswaragunupudi
Fri Aug 11, 2017 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: Adoordd , xbrowse

... doesn't appear anymore I tried also to set locktype to adLockPessimistic ( in adordd , oRecordSet:Open( ....,2,...) ) This result in locktype 4 (adLockBatchOptimistic) Frank I am afraid that when i can not resolve this issue , i can not use adordd. Frank
by Franklin Demont
Sat Oct 29, 2016 8:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Adoordd , xbrowse
Replies: 9
Views: 2325

FWH 16.09: RowSet AutoAppend feature

... a bit complex. Yet all this is possible only if the data-source being browsed supports this feature. Examples are Arrays, RecordSets opened with adLockBatchOptimistic lock. FWH RowSet supports this feature. Not only it supports but also takes away totally the burden of writing this complex code. ...
by nageswaragunupudi
Tue Oct 25, 2016 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.09: RowSet AutoAppend feature
Replies: 0
Views: 666

Re: Tempory Recordset question

... so far. I am eager to learn if a working sample is posted to do this. To achieve the same objective I adopt 2 alternatives: 1) Open with locktype adLockBatchOptimistic and never use oRs:UpdateBatch function Test()   local oCn, oRs   oCn   := FW_OpenAdoConnection( "testins.mdb" ...
by nageswaragunupudi
Sat Sep 24, 2016 1:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tempory Recordset question
Replies: 15
Views: 2733

Re: ADO RDD xHarbour

... :update() each time. This might be the reason of taking so long? Oh, it absolutely is the reason. Do you mean we should change the :cursorType to adLockBatchOptimistic start a transaction and :updatebatch only at the end? Well it does seem that there is very little chance of someone else trying ...
by James Bott
Fri Aug 07, 2015 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446884

Re: ADO RDD xHarbour

... record. Both these functions call :update() each time. This might be the reason of taking so long? Do you mean we should change the :cursorType to adLockBatchOptimistic start a transaction and :updatebatch only at the end? May be there is a bug in locks as it should in COPY TO open the destination ...
by AHF
Fri Aug 07, 2015 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446884

Re: ADO SQL VISIBILITY

... 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 on its own unless ...
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

... for AS/400 and VSAM and the Microsoft OLE DB Provider for DB2. However, the OLE DB Provider for AS/400 and VSAM internally maps this lock type to adLockBatchOptimistic. and The adLockPessimistic setting is not supported if the CursorLocation property is set to adUseClient. If an unsupported value ...
by nageswaragunupudi
Wed Apr 29, 2015 8:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446884

New FTDN (July) 2014 (FWH 14.07)

... ADO SYNTAX Instead of oRs := TOleAuto():New( "ADODB.RecordSet" ) Use oRs := TRecSet():New() WITH OBJECT oRs // optionally :LockType := adLockBatchOptimistic .... END oRs:Open( [cSql], [oCn], ..... ) // Syntax exactly same as ADO syntax Field values can be accessed and assigned as Data. ...
by Antonio Linares
Mon Aug 04, 2014 6:41 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN (July) 2014 (FWH 14.07)
Replies: 3
Views: 3113

New FWH 13.07 revised build

... now. There was a bug when creating the attached file name of the PDF. Thanks to Lucas! * XBrowse.prg: While browsing a recordset opened with adLockBatchOptimistic, the browse stays stable even if connection to server is lost. Any edits during the browse are not saved to the Server. After ...
by Antonio Linares
Tue Aug 13, 2013 11:24 am
 
Forum: WhatsNew / Novedades
Topic: New FWH 13.07 revised build
Replies: 33
Views: 8919

Re: To Mr. G. N. Rao

... itself and offer inline edit, you need to consider the following implications. As you are aware you can open a recordset with adLockOptimistic or adLockBatchOptimistic. In the first case, once you call oRs:AddNew(), you can not navigate the recordset unless you either Update() or CancelUpdate() ...
by nageswaragunupudi
Tue Apr 30, 2013 4:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Mr. G. N. Rao
Replies: 5
Views: 1232
Next

Return to advanced search