Board index » delphi » Dynamic generating of Calculated-Fields in Delphi 3.0

Dynamic generating of Calculated-Fields in Delphi 3.0

Simple !

ftcalculated is of an enumeratred type

property fieldkind convert the enumerated type to an Integer, Boolean,
String, Byte ore what ever you wan't

Lars Rosenberg
Karlstad Sweden

Quote
Michel Johnson wrote in message <34ce7dc6.4631...@news.navigato.com>...
>Hi there....

>how can i generate a calculated field with just programming like:

>   table.fielddefs.clear
> table.add('field' .....)
> table.findfield('field').fieldkind:=ftcalculated (or so)

>        table.create

>i tried a lot of things but i cant figure it out. Online help is not a
>help anyway so pls help me.

>Replies pls send an e-mail ....

>thanx a lot

>mike

 

Re:Dynamic generating of Calculated-Fields in Delphi 3.0


Hi there....

how can i generate a calculated field with just programming like:

        table.fielddefs.clear
        table.add('field' .....)
        table.findfield('field').fieldkind:=ftcalculated (or so)  

                table.create

i tried a lot of things but i cant figure it out. Online help is not a
help anyway so pls help me.

Replies pls send an e-mail ....

thanx a lot

mike

Other Threads