Subject | Delphi doesn't see new fields at runtime? |
---|---|
Author | ra8009 |
Post date | 2006-08-15T06:35:23Z |
I modifed a field in a Firebird data table and added two new ones.
Whether I use a TIBOTable or TIBOQuery, Delphi sees the new fields at
design time becuase I can add them as persistent fields. Bizarrely,
when I reference the new fields at runtime Delphi says they don't exist!
I've tried referencing the field objects and also used fieldByName and
FindField. I've also tried changing the field names to test1 and
test2, rebooted, etc. etc. but nothing works.
At runtime I even tried GetFieldNames, but the fields are not on the
list. What could possibly be wrong?
Whether I use a TIBOTable or TIBOQuery, Delphi sees the new fields at
design time becuase I can add them as persistent fields. Bizarrely,
when I reference the new fields at runtime Delphi says they don't exist!
I've tried referencing the field objects and also used fieldByName and
FindField. I've also tried changing the field names to test1 and
test2, rebooted, etc. etc. but nothing works.
At runtime I even tried GetFieldNames, but the fields are not on the
list. What could possibly be wrong?