Subject | Re: Getting validation source from a domain |
---|---|
Author | Ed Dressel |
Post date | 2006-10-18T16:01:11Z |
> I'm dubious about the above - it's part of the Metadatait's my own function that creates and assigns a TIB_Cursor properties
> components...however, perhaps that's what you're working with. I
> just can't find a public declaration for that function.
>
for easier coding.
> RecordCount is meaningless. An IB_Cursor doesn't know about it. ItOuch... then why is it a public property?
> has a single-row buffer.
> Not quite this simple. The field you are querying is a blob. ItI realize that but just as a TDataset, the .AsString does work, so did
> happens to contain text but it's a subtype 1 blob. You can assign a
> blob to a TStrings of some sort (stringlist, memo, etc.) and read
> and concatenate its Strings or read its Text.
this as soon as I fixed my code (not seen here).
> Also, you don't need SELECT FIRST in your SQL. A domain has onlyMy thinking was for efficiency--that FB would stop looking as soon as
> one record in RDB$FIELDS. If you actually want to target the first
> validation rule in the blob, you'll need to process the stringlist
> string-by-string in some fashion.
it found the first item--rather then always searching for a single
domain. Make sense?
Thanks
Ed Dressel