Table generates TIntegerfield / View with Union generates TFloatfield
Posted: Mon 03 Jan 2005 10:56
Hi
When in a table a field is defined as integer (number(1,0)) --> the persistent queryfield has the type: TIntegerField.
But if I create a view including a union, delphi or ODAC recognize the same field as TFloatField. Therefore I get error messages in my forms, because the same form use both, one time the TABLE and an other time the VIEW. But i need the persistent fields.
Does anyone have a solution for this problem?
Regards
Robert
ODAC Version 5.10.0.5 for Delphi 7
When in a table a field is defined as integer (number(1,0)) --> the persistent queryfield has the type: TIntegerField.
But if I create a view including a union, delphi or ODAC recognize the same field as TFloatField. Therefore I get error messages in my forms, because the same form use both, one time the TABLE and an other time the VIEW. But i need the persistent fields.
Does anyone have a solution for this problem?
Regards
Robert
ODAC Version 5.10.0.5 for Delphi 7