Search found 10 matches: syncchild

Return to advanced search

MariaDB RS updating oChild after append

... oRacB := oRs:oChild:oChild:Record(,.T.) was saved 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 ...
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: MariaDB BlankRow() returns with additional element/field

Hi Rao,

Strangely, I put the oRs := oCn:RowSet( cSql, {'param'} ) on my init variable function (as once-only declaration) and put oRs:Append() | oRs:SyncChild() | oBrw:Refresh()...
This way it SOLVED my issues refreshing oRs:oChild datasource of xBrowse ...

Moving forward to another task...

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

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

... to init the oRs, and adds child using oRs:AddChild('table') with (:oChild:lAutoAppend := .T. 2. oRs:Append() when user define new entry and oRs:SyncChild() to refresh xBrowse.. the datasource not refreshed here.. it displays previous loaded data :( 3. oRs:Requery( {'param'} ) to load saved entry ...
by fraxzi
Sat Jun 09, 2018 1:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB BlankRow() returns with additional ... (SOLVED)
Replies: 13
Views: 1750

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: MariaDB BlankRow() returns with additional element/field

... based on "mariainv,prg" sample .. I reconstruct from array to oRs:oChild:lAutoAppend but when parent oRs are :requery with oRs:SyncChild() and refresh the xBrowse oRs:oChild, the display not refreshed().
by fraxzi
Sat Jun 09, 2018 12:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB BlankRow() returns with additional ... (SOLVED)
Replies: 13
Views: 1750

FWH: Parent Child RowSets (MySql/MariaDB)

... The entire process requires usage of only two methods and one data: 1) oParent:AddChild( ... ) // establish parent child relationship 2) oParent:SyncChild() // Call whenever we want to sync the child with parent. DATA oParent:oChild //refers to the child rowset. //Example usage in Parent-child ...
by nageswaragunupudi
Thu Jul 21, 2016 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Parent Child RowSets (MySql/MariaDB)
Replies: 12
Views: 4240

... uTxtFile, cTitle, lOemToAnsi ) METHOD ShowSizes() METHOD Skip( n ) METHOD SortArray( nCol, lDescend ) METHOD SwitchCols( nCol1, nCol2 ) METHOD SyncChild( aoChildBrw, abAction ) METHOD UpStable() METHOD Proper( cText ) METHOD VertLine( nColPos, nColInit, nGapp ) METHOD VScroll( nWParam, nLParam ...
by Natter
Mon Sep 08, 2008 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bChange
Replies: 9
Views: 5470

Fivewin Classes

... (along with other nice controls). -------------------------------------------------------------------------------- Has anyone a sample of the TS SyncChild Method ??? It is supposed to synchronise 2 browses. I have not heard of anything like this. Just use the bSkip codeblock of the parent browse ...
by Antonio Linares
Wed Aug 27, 2008 7:44 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65507

In continuation These features also are not in txbrowse 17.- Synchronization through code blocks with other browses using "TSBrowse" method SyncChild(). We can do this in bchange block of xbrowse. 18.- Filters based on indexes (specially useful with NTX). Guess FWH can move this code from other ...
by nageswaragunupudi
Fri Feb 08, 2008 8:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBROWSE Class OF MANUEL MERCADO
Replies: 24
Views: 8816

... Viewer. 16.- Use of bitmaps in cells, headers and footers. 17.- Synchronization through code blocks with other browses using "TSBrowse" method SyncChild(). 18.- Filters based on indexes (specially useful with NTX). 19.- Automatic append using the "TSBrowse" method SetAppendMode(). When you ...
by George
Fri Feb 08, 2008 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBROWSE Class OF MANUEL MERCADO
Replies: 24
Views: 8816

Return to advanced search