Search found 60 matches: resync

Return to advanced search

Re: Maria DB and incrental seek

[quote]::oBrt:bOnChanges := { || ::oRsTestate:ReSync(),; ::oBrt:RefreshCurrent(),; ::oBrt:MakeTotals(),; ::oBrt:RefreshFooters() } [/quote Before I go into the main topic, I like to advise you that this code is not required. XBrowse automatically ...
by nageswaragunupudi
Fri Jun 09, 2023 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Maria DB and incrental seek
Replies: 1
Views: 143

Re: antes con TDolphin hacia refresh

... new values and returns number of rows updated ReQuery ( [aNewParams] ) Reads data fully again from the server, optionally applying new parameters ReSync() Reads current record from the server and updates the values in the rowset
by carlos vargas
Fri Oct 01, 2021 4:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: antes con TDolphin hacia refresh
Replies: 3
Views: 438

HBMK2 Problem linking

... 13:45:05: FWMARIACONNECTION:EXECUTE_SQL( 6163 ) cCallStack( "<-", 3 ) = "FWMARIACONNECTION:EXECUTE( 6453 )<-FWMARIAROWSET:RESYNC( 3757 )<-FWMARIAROWSET:ROWGET( 4971 )<-TDATAROW:READOBJ( 943 )<-TDATAROW:LOAD( 251 )<-TDATAROW:NEW( 196 )<-FWMARIAROWSET:DATAROW( ...
by vilian
Thu Jun 04, 2020 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBMK2 Problem linking
Replies: 49
Views: 5337

MariaDB RS updating oChild after append

... by oRecA:save() and oRecB:save(), the database confirms the update/appended but even with oRs:SyncChild() or oRs:oChild:SyncChild(), or oRs:oChild:ReSync() oRs:oChild:oChild:ReSync() .... or :ReQuery or :Refresh() the content of oRs:oChild:oChild wasn't updated ??? I couldn't make a small sample ...
by fraxzi
Thu Oct 25, 2018 12:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB RS updating oChild after append
Replies: 2
Views: 475

Re: oRs:EditBaseRecord, oRec:Save() problem

... have add another function ItemSaved() and Ithink the problem solved. I have used the original datarow.prg. Of course some more lines like oRsItems:ReSync(), oBrw:RefreshCurrent() is needed. static function EditItems( oRec ) ...    // ACTION If( oRec:Save(), oDlg:End(), nil )   ACTION If( ...
by betoncu
Sun Aug 26, 2018 10:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oRs:EditBaseRecord, oRec:Save() problem
Replies: 8
Views: 1093

Re: MariaDB BlankRow() returns with additional element/field

Mr. Rao,

I got it!

oRs:ReSync()
oRs:SyncChild()

refreshes the oRs:oChild...

:P
by fraxzi
Sat Jun 09, 2018 12:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB BlankRow() returns with additional ... (SOLVED)
Replies: 13
Views: 1750

Re: FWHMYSQL oRs:Save() Problem

... log file: 05/03/18 14:31:41: FWMARIACONNECTION:EXECUTE_SQL( 5369 ) CallStack() = " <- FWMARIACONNECTION:EXECUTE(5609) <- FWMARIAROWSET:RESYNC(3380) <- FWMARIAROWSET:EDITBASERECORD(4186) <- (b)MAIN(54) <- TBUTTON:CLICK(179)" cSql = "SELECT * FROM esocial AS esc WHERE ...
by vilian
Thu May 03, 2018 5:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMYSQL oRs:Save() Problem
Replies: 12
Views: 2307

FWHMYSQL oRs:Save() Problem

... 28/03/2018 13:54:00: FWMARIACONNECTION:EXECUTE_SQL( 5369 ) CallStack() = " <- FWMARIACONNECTION:EXECUTE(5609) <- FWMARIAROWSET:RESYNC(3380) <- FWMARIAROWSET:EDITBASERECORD(4186) <- (b)SFP213(72) <- TBUTTONBMP:CLICK(179)" cSql = "SELECT * FROM esocial AS esc ...
by vilian
Thu May 03, 2018 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMYSQL oRs:Save() Problem
Replies: 12
Views: 2307

FWMARIADB: RowSet class error when inserting a new record

... \ Source \ internal \ FWMARIA.PRG => FWMARIAROWSET: REQUERY (3114)    Called from:. \ Source \ internal \ FWMARIA.PRG => FWMARIAROWSET: RESYNC (3407)    Called from:. \ Source \ internal \ FWMARIA.PRG => FWMARIAROWSET: SAVE (3902)    Called from: ADMP1190.PRG => SAVE (172)
by vinhesoft
Fri Mar 16, 2018 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWMARIADB: RowSet class error when inserting a new record
Replies: 6
Views: 1254

New FTDN January/Enero 2018 (FWH 18.01)

... were restored but record pointer is moved to top. Now the record pointer is positioned on the previous record with the same primary key. - Method ReSync() Fix: Resync() was failing on some rare cases, where table contained joins, fields with the same name exist in more than one table and the alias ...
by Antonio Linares
Wed Feb 14, 2018 5:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2018 (FWH 18.01)
Replies: 1
Views: 2588

Re: FWH: MySql/MariaDB: RowSet object

... to oRs:Requery() of RowSet. These methods read and load the entire table again from the server and we like to avoid it as far as possible. RowSet:ReSync() reads only one record from the server and updates the rowset. This is fast. After modifying the record With Dolphin oDbCli:LoadQuery(.F.)oBrw:DrawLine()  ...
by nageswaragunupudi
Wed Apr 26, 2017 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19554

Re: FWHMARIADB Samples

... downarrow key on the last row. The new row is saved only when some data is entered. 8 ) Visibility of other users' changes automatically. ( Resync() and Refresh() methods) #include "fivewin.ch"static oCnfunction Main()   local oRs   SET DATE BRITISH   SET CENTURY ON   FW_SetUnicode( ...
by nageswaragunupudi
Wed Apr 12, 2017 11:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMARIADB Samples
Replies: 48
Views: 20549

Re: ADO : Building columns , NULL ... DEFAULT

... and also autoincrementing ID. Still our client does not know what are the values written, We need to re-read the values written with either oRs:ReSync( 1, 2 ) or oRs:Requery() Unfortunately Resync() does not work perfectly with all databases. Works perfectly with MSSQL and Requery() is slow ...
by nageswaragunupudi
Thu Sep 22, 2016 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO : Building columns , NULL ... DEFAULT
Replies: 7
Views: 1467

Re: FWH: MySql/MariaDB: RowSet object

ReQuery( [params] ), Refresh() and ReSync() ReQuery() Reads the entire rowset again from the Server using the original SQL and replaces the previous data with new data. This method works exactly like ADO's Requery. ReQuery( params ) In case ...
by nageswaragunupudi
Thu Jul 21, 2016 1:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19554

FWH: MySql/MariaDB: RowSet object

... procedure is not visible, the rowset object makesw its best efforts to identify the base table and prepares appropriately to Requery, Refresh and Resync. Option-5: oRs2 := oRs:Clone() This works similar to the ADO method Clone(). All the Clones work on the same data but can be sorted / filtered ...
by nageswaragunupudi
Thu Jul 21, 2016 11:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19554
Next

Return to advanced search

cron