Search found 60 matches: resync

Return to advanced search

can´t retrieve all records via MySQL over ODBC

... 12 IRowsetFind VERDADERO 13 IRowsetIdentity VERDADERO 14 IRowsetInfo VERDADERO 15 IRowsetLocate VERDADERO 16 IRowsetRefresh VERDADERO 17 IRowsetResynch FALSO 18 IRowsetScroll VERDADERO 19 IRowsetUpdate VERDADERO 20 IRowsetView VERDADERO 21 IRowsetIndex FALSO 22 ISequentialStream VERDADERO 23 ...
by lucasdebeltran
Mon Nov 25, 2013 12:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: can´t retrieve all records via MySQL over ODBC
Replies: 5
Views: 1243

Re: error in class DataRow

... the error in TRY/CATCH block and dealwith it. 2. If the recordset is opened in Batch Optimistic mode and if the provider is OLEDB In most cases ReSync() works First call oRs:ReSync( adAffectCurrent, adResyncUnderlyingValues ) // ( 1, 1 ) RecordSet reads current values into underlyingvalues Each ...
by nageswaragunupudi
Sun Jun 09, 2013 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: another error in class DataRow
Replies: 6
Views: 1772

Re: Saber Metodos de un CREATEOBJECT

... [defaultvalue] USERDEFINED, [defaultvalue] int ) STDCALL dispatch FUNC void Requery( [defaultvalue] int ) STDCALL dispatch FUNC void _xResync( [defaultvalue] USERDEFINED ) STDCALL dispatch FUNC void Update( [optional] VARIANT, [optional] VARIANT ) STDCALL dispatch PROPERTYGET USERDEFINED ...
by Antonio Linares
Sun May 12, 2013 5:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Metodos de un CREATEOBJECT
Replies: 62
Views: 32346

Re: Fast Reports -Sergey Rests

... cFld ) ),  aData[ nAt, nCol ] } )  That will do it. If you have other files with a relationship then you would need to resync() just the affected workarea. For example, lets say you have an invoices table that relates to the customer number on the array, then you need ...
by reinaldocrespo
Thu Jul 19, 2012 1:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fast Reports -Sergey Rests
Replies: 34
Views: 9463

Re: Poner en hora el ordenador.

... caso yo lo ejecuto 4 veces al día. rem el archivo es tiempo.bat net time /setsntp:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org" w32tm /resync /rediscover tienes que agregar una tarea al XP en CMD at 11:00 /every:D,L,M,Mi,J,V,S D:\miruta\tiempo.BAT at 13:00 /every:D,L,M,Mi,J,V,S D:\miruta\tiempo.BAT ...
by omarelunico
Sat Dec 17, 2011 7:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner en hora el ordenador.
Replies: 5
Views: 1123

Re: MS Access problem

... .. which detects if that row was possibly deleted by another user or the data had changed All this work is because Access does not respect the ReSync() method .. Just thought I would share this code .. I think these ideas can help other ADO users deal with their concurrency and workstation ...
by Rick Lipkin
Fri Oct 14, 2011 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS Access problem
Replies: 12
Views: 4631

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

Lafug and Rao Rao .. you are VERY correct about ReSync() not being universally supported by some Databases .. like Access for example which causes difficulties in networked environments specifically when it comes to workstation updates and visibility. ...
by Rick Lipkin
Fri Oct 14, 2011 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO MYSQL se cae con 2 usuarios modificando mismo registro
Replies: 3
Views: 1160

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

... error. It is desirable that we should ascertain that the row is not updated by other users before calling oRs:Update() method. Normally oRs:Resync( adAffectCurrent, adResyncUnderlyingValues ) method helps us to know this. But unfortunately not all providers support this method. I very much ...
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: 1160

Re: Refreshing xbrowse when dataset is closed and re-opened

... 2 WHERE FIRST = "Ali"'   oCn:Execute( cSql )   oRs:Close()   oCn:Close()return nil There is also another method ReSync(). This method is much faster and has many options. But please use this with extreme caution. Not all providers support this method and even ...
by nageswaragunupudi
Sat Jul 17, 2010 5:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xbrowse when dataset is closed and re-opened
Replies: 67
Views: 16716

Re: Refreshing xbrowse when dataset is closed and re-opened

There is no Refresh method for RecordSet in ADO. There are only ReSync() and ReQuery() methods. You can change the source of a RecordSet ( oRs:Souce := <cNewSource> ) and do oRs:ReQuery(), but not Refresh(). This can work: oBrw:oRs:Source := <cNewSQL ...
by nageswaragunupudi
Thu Jul 15, 2010 4:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xbrowse when dataset is closed and re-opened
Replies: 67
Views: 16716

TXT to SQL

... hours 0 mins 4 secs Error occurred at: 12/31/09, 12:00:27 Error description: Error ADODB.Recordset/16389 E_FAIL: PROPERTIES Args: [ 1] = C Update Resync Stack Calls =========== Called from: win32ole.prg => TOLEAUTO:PROPERTIES(0) Called from: xSqlQuery.prg => (b)XSQLQUERY:XSQLQUERY(74) Called ...
by DiegoCandel
Thu Dec 31, 2009 11:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXT to SQL
Replies: 1
Views: 657

TXT to SQL

... hours 0 mins 4 secs Error occurred at: 12/31/09, 12:00:27 Error description: Error ADODB.Recordset/16389 E_FAIL: PROPERTIES Args: [ 1] = C Update Resync Stack Calls =========== Called from: win32ole.prg => TOLEAUTO:PROPERTIES(0) Called from: xSqlQuery.prg => (b)XSQLQUERY:XSQLQUERY(74) Called ...
by DiegoCandel
Thu Dec 31, 2009 11:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TXT to SQL
Replies: 5
Views: 1080

Re: Checking for updated fields

... comparisons. Every field has OriginalValue, UnderlyingValue and Value. Comparing Value with OriginalValue tells us if our user has modified data. Resync method to update only underlyingvalues reads the current data into this value. Comparing Value with UnderlyingValues tells is if other user modified ...
by nageswaragunupudi
Fri Jun 19, 2009 5:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Checking for updated fields
Replies: 10
Views: 2123

Manuel Here is an example of using resync() .. Lets say you have two workstations accesing the same table using the same SQL code .. so basically both workstations have identical copies of their local recordset. Workstation 1 changes row 2 ...
by Rick Lipkin
Wed Jan 02, 2008 10:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about SQL
Replies: 52
Views: 11087

oRs:Requery() is a useful tool as well as oRs:ReSync(1,2) .. do not leave the resync parameters out .. and you MUST have a 'primary key' set on your table for the Resync method to work. ReSync is a must in a networked environment especially for ...
by Manuel Valdenebro
Wed Jan 02, 2008 4:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about SQL
Replies: 52
Views: 11087
PreviousNext

Return to advanced search

cron