Subject | Problem with TIBQuery |
---|---|
Author | Vinicius |
Post date | 2002-04-18T11:26:20Z |
Hello people I have make a upgrade at my IBX components and have noted that problem :
When I use a calculated field that I create in the event before Open of the Query I can't use this field as a calculated field because the event OnCalcField is executed first of the Before Open, ( this problem dosen't occur in the previous version, that comes with the first Delphi6 )
So I have try to pass the creation of the field to BeforeOpen but now, my problem is the calculated field that I has create exist but the others fields of the table dosen't exist. And I can't use Fields Editor because I change some fields changing the query some times.
So how can I create All the fields from a table + one calculated field and use one fields of the table to calculate the value of the calculated field without create in the design time!
thanks
Vinicius
[Non-text portions of this message have been removed]
When I use a calculated field that I create in the event before Open of the Query I can't use this field as a calculated field because the event OnCalcField is executed first of the Before Open, ( this problem dosen't occur in the previous version, that comes with the first Delphi6 )
So I have try to pass the creation of the field to BeforeOpen but now, my problem is the calculated field that I has create exist but the others fields of the table dosen't exist. And I can't use Fields Editor because I change some fields changing the query some times.
So how can I create All the fields from a table + one calculated field and use one fields of the table to calculate the value of the calculated field without create in the design time!
thanks
Vinicius
[Non-text portions of this message have been removed]