Search found 84 matches: ochild

Return to advanced search

Como puedo hacer esto con oChild...

...       WITH OBJECT :aCols[ 3 ]            :cHeader       := "Forma de pago"            :bStrData := { || aCobros[ ::oQry:oChild:FieldGet("c4") ] }         END WITH  gracias.
by goosfancito
Mon Nov 15, 2021 11:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como puedo hacer esto con oChild...
Replies: 0
Views: 281

Re: sincronizacion de tablas con FWHMariadb SOLUCIONADO

El problema pasaba el uso de la tabla hija, utilizando oMant:oChild:campo, funcionó perfecto.
by jose_murugosa
Wed Oct 20, 2021 7:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: sincronizacion de tablas con FWHMariadb SOLUCIONADO
Replies: 1
Views: 297

Re: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )

... nXml ) IF oXmlDoc:nStatus != HBXML_STATUS_OK RETURN cRet ENDIF oNode := oXmlDoc:findfirst(cNodo) If oNode != Nil If lNodo xmlNode := oXmlDoc:oRoot:oChild WHILE xmlNode != NIL cPath := xmlNode:Path() If xmlNode:nType=5 cRet :=xmlNode:cData Exit EndIf xmlNode := xmlNode:NextInTree() ENDDO Else cRet ...
by CARLOS ATUNCAR
Thu Apr 01, 2021 3:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )
Replies: 6
Views: 1380

Re: Life time of a MDI CHILD

Because oChild is a LOCAL variable. It is destroyed after the end of the function where it is defined.

EMG
by Enrico Maria Giordano
Mon Aug 31, 2020 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Life time of a MDI CHILD
Replies: 4
Views: 625

Re: Life time of a MDI CHILD

Hello Karinha,
no mistake, I wonder why the 'oChild' variable is still defined after it's closed
thank
by mauri.menabue
Sun Aug 30, 2020 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Life time of a MDI CHILD
Replies: 4
Views: 625

Life time of a MDI CHILD

Hi all, try this minimal example, why after end of MDICHILD oChild the window is already active ? #include "fivewin.ch"function Main()   local oWnd, oFont   local aData := { 1, 2, 3, 'Something' }   local ...
by mauri.menabue
Sun Aug 30, 2020 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Life time of a MDI CHILD
Replies: 4
Views: 625

Re: MariaDB RS updating oChild after append

... "idfund = oRs:id" } )oRs:AddChild( oConnection:RowSet('pettycash'), { "idfund = oRs:id AND idempl = oRs:oChild:idempl" } )...  to update: ...oRs:oChild:ReQuery({ "idfund = "+cValToChar(aValue[1]) + ...
by fraxzi
Mon Oct 29, 2018 2:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB RS updating oChild after append
Replies: 2
Views: 475

Re: MariaDB RS updating oChild after append

I understood your point.
Let me check. I will get back to you.
by nageswaragunupudi
Thu Oct 25, 2018 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB RS updating oChild after append
Replies: 2
Views: 475

MariaDB RS updating oChild after append

Hi Masters, I have oRs:oChild and oRs:oChild:oChild .. but oRecA := oRs:oChild:Record(,.F.) and oRacB := oRs:oChild:oChild:Record(,.T.) was saved by oRecA:save() and oRecB:save(), the database confirms the update/appended but even with ...
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: FWH: Parent Child RowSets (MySql/MariaDB)

fraxzi wrote:Hi Mr. Rao,

if I do oParent:Save() ... will it save oParent:oChild and oParent:oChild:oChild as well??

:?:

No.
by nageswaragunupudi
Tue Oct 16, 2018 10:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Parent Child RowSets (MySql/MariaDB)
Replies: 12
Views: 4239

Re: FWH: Parent Child RowSets (MySql/MariaDB)

Hi Mr. Rao,

if I do oParent:Save() ... will it save oParent:oChild and oParent:oChild:oChild as well??

:?:
by fraxzi
Tue Oct 16, 2018 6:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Parent Child RowSets (MySql/MariaDB)
Replies: 12
Views: 4239

Re: MariaDB RS Tree

Mr. Rao,

This is great approach.. I did it with JOINS too.. I thought of On-The-Fly oChild when parent root expanded.. But maybe not a good idea?

I always referenced your sample relative to xBrowse.. Absolutely very helpful. :wink:


:idea:
by fraxzi
Mon Aug 13, 2018 12:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB RS Tree
Replies: 5
Views: 1227

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

... it loads the record of the parent. 1. using oRs:Rowset( cSql, {'param'}) 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 ...
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
Next

Return to advanced search