Página 1 de 1
TDbfDataset:AddCalcField()
Publicado: Mié Sep 26, 2007 7:38 pm
por Gejza Horvath
Hi,
Please advise!
I have 2 dbfdatasets related on this expression:
::oDbfMtzmas:SetRelation("CISLOPRE",::oDbfJDCeny)
::oDbfMtzmas is connected to the browser. I would like to show 2 columns from ::oDbfJDCeny
in this browser. I think the ::oDbfMtzmas:AddCalcField() method is the right way, but I
don't know how to use it. Any idea?
Gejza Horvath
TDbfDataset:AddCalcField()
Publicado: Jue Sep 27, 2007 8:19 am
por ignacio
Gejza,
You just need to trap the TBrwColumn:OnGetData event. Please consult the
docs.
Regards,
"Gejza Horvath" <
_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=
46fa99d7@ozsrv2.ozlan.local...]
46fa99d7@ozsrv2.ozlan.local...[/email]
> Hi,
> Please advise!
>
> I have 2 dbfdatasets related on this expression:
>
> ::oDbfMtzmas:SetRelation("CISLOPRE",::oDbfJDCeny)
>
> ::oDbfMtzmas is connected to the browser. I would like to show 2 columns
> from ::oDbfJDCeny in this browser. I think the ::oDbfMtzmas:AddCalcField()
> method is the right way, but I don't know how to use it. Any idea?
>
>
> Gejza Horvath
>
TDbfDataset:AddCalcField()
Publicado: Jue Sep 27, 2007 8:19 am
por NoName
Gejza,
You just need to trap the TBrwColumn:OnGetData event. Please consult the
docs.
Regards,
"Gejza Horvath" <
_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=
46fa99d7@ozsrv2.ozlan.local...]
46fa99d7@ozsrv2.ozlan.local...[/email]
> Hi,
> Please advise!
>
> I have 2 dbfdatasets related on this expression:
>
> ::oDbfMtzmas:SetRelation("CISLOPRE",::oDbfJDCeny)
>
> ::oDbfMtzmas is connected to the browser. I would like to show 2 columns
> from ::oDbfJDCeny in this browser. I think the ::oDbfMtzmas:AddCalcField()
> method is the right way, but I don't know how to use it. Any idea?
>
>
> Gejza Horvath
>