Subject | Getting field constraints from TIB_Query |
---|---|
Author | Bert Haver |
Post date | 2001-09-07T10:26:42Z |
Hello,
I used to work with IBX to access my IB Database. Now I'm migrating to IBO.
Because IBX Table and IBX Query both inherit from TDataSet I encounter a
problem.
I'm using TDataSet.Fields[x] to get hold of a fieldconstraint 'Required'.
Since IBO Query and Table don't have a shared ancestor (dataset) I don't
have access to the IBQuery.Fields[x] property.
How can I obtain fieldconstraints from a IBOQuery is my question.
Thanks for replying,
Bert Haver
Encaps BV
Object Oriented Software Programming Services
Ambachtenstraat 87
1191 JM Ouderkerk a/d Amstel
(Phone +31 20 4966066
2 Fax +31 20 4966263
+e-mail b.haver@...
[Non-text portions of this message have been removed]
I used to work with IBX to access my IB Database. Now I'm migrating to IBO.
Because IBX Table and IBX Query both inherit from TDataSet I encounter a
problem.
I'm using TDataSet.Fields[x] to get hold of a fieldconstraint 'Required'.
Since IBO Query and Table don't have a shared ancestor (dataset) I don't
have access to the IBQuery.Fields[x] property.
How can I obtain fieldconstraints from a IBOQuery is my question.
Thanks for replying,
Bert Haver
Encaps BV
Object Oriented Software Programming Services
Ambachtenstraat 87
1191 JM Ouderkerk a/d Amstel
(Phone +31 20 4966066
2 Fax +31 20 4966263
+e-mail b.haver@...
[Non-text portions of this message have been removed]