... parts. Here’s an updated version of the `Deposits()` function to show the `INVNUM` field:
```xbase
static function Deposits()
local oBrw, oChild, cClrBack, cCol
local oBar, oMsgBar, oMsgDeleted
if oWndClients == nil
Clients()
endif
if oWndItems == nil
Items()
endif
if oWndDeposits ...
Search found 86 matches: ochild
Searched query: ochild
- Fri Jul 19, 2024 7:20 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Need Help guide for my program.
- Replies: 38
- Views: 6641
- Fri Jul 19, 2024 7:16 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Need Help guide for my program.
- Replies: 38
- Views: 6641
Re: Need Help giide for my program
... deposits.
Below is the adapted Deposits function based on the Invoices function:
xbase
Code kopieren
static function Deposits()
local oBrw, oChild, cClrBack, cCol
local oBar, oMsgBar, oMsgDeleted
if oWndClients == nil
Clients()
endif
if oWndItems == nil
Items()
endif
if oWndDeposits ...
Below is the adapted Deposits function based on the Invoices function:
xbase
Code kopieren
static function Deposits()
local oBrw, oChild, cClrBack, cCol
local oBar, oMsgBar, oMsgDeleted
if oWndClients == nil
Clients()
endif
if oWndItems == nil
Items()
endif
if oWndDeposits ...
- Mon Nov 15, 2021 11:16 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Como puedo hacer esto con oChild...
- Replies: 0
- Views: 372
Como puedo hacer esto con oChild...
Hola.
esto ya me esta funcionando, nada mas que no se como hago para acceder al ese campo para poder hacer esto:
WITH OBJECT :aCols[ 3 ] :cHeader := "Forma de pago" :bStrData := { || aCobros[ ::oQry:oChild:FieldGet("c4") ] } END WITH
gracias.
esto ya me esta funcionando, nada mas que no se como hago para acceder al ese campo para poder hacer esto:
WITH OBJECT :aCols[ 3 ] :cHeader := "Forma de pago" :bStrData := { || aCobros[ ::oQry:oChild:FieldGet("c4") ] } END WITH
gracias.
- Wed Oct 20, 2021 7:14 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: sincronizacion de tablas con FWHMariadb SOLUCIONADO
- Replies: 1
- Views: 427
Re: sincronizacion de tablas con FWHMariadb SOLUCIONADO
El problema pasaba el uso de la tabla hija, utilizando oMant:oChild:campo, funcionó perfecto.
- Thu Apr 01, 2021 3:34 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )
- Replies: 6
- Views: 1817
Re: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )
... 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 ...
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 ...
- Mon Aug 31, 2020 8:48 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Life time of a MDI CHILD
- Replies: 4
- Views: 745
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
EMG
- Sun Aug 30, 2020 2:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Life time of a MDI CHILD
- Replies: 4
- Views: 745
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
no mistake, I wonder why the 'oChild' variable is still defined after it's closed
thank
- Sun Aug 30, 2020 8:25 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Life time of a MDI CHILD
- Replies: 4
- Views: 745
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 nVar := 99, cVar := 'Hello' local ...
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 nVar := 99, cVar := 'Hello' local ...
- Mon Oct 29, 2018 2:27 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDB RS updating oChild after append
- Replies: 2
- Views: 578
Re: MariaDB RS updating oChild after append
... 41;, { "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]) + " AND idempl ...
to update:
...oRs:oChild:ReQuery({ "idfund = "+cValToChar(aValue[1]) + " AND idempl ...
- Thu Oct 25, 2018 12:12 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDB RS updating oChild after append
- Replies: 2
- Views: 578
Re: MariaDB RS updating oChild after append
I understood your point.
Let me check. I will get back to you.
Let me check. I will get back to you.
- Thu Oct 25, 2018 12:34 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDB RS updating oChild after append
- Replies: 2
- Views: 578
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
oRs:SyncChild() or oRs:oChild:SyncChild(), or oRs:oChild:ReSync ...
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
oRs:SyncChild() or oRs:oChild:SyncChild(), or oRs:oChild:ReSync ...
- Tue Oct 16, 2018 10:25 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH: Parent Child RowSets (MySql/MariaDB)
- Replies: 12
- Views: 5533
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.
- Tue Oct 16, 2018 6:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH: Parent Child RowSets (MySql/MariaDB)
- Replies: 12
- Views: 5533
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??

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

- Mon Aug 13, 2018 12:04 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDB RS Tree
- Replies: 5
- Views: 1434
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.

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.


- Sat Jun 09, 2018 1:36 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDB BlankRow() returns with additional ... (SOLVED)
- Replies: 13
- Views: 2237
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...

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...
