Subject | RE: [IBO] Statement must have an IB_Connection assigned |
---|---|
Author | Jason Wharton |
Post date | 2007-08-28T17:34:25Z |
> I have create a class for some Temporary Queries..Don't create a query with a NIL owner passed in.
> type
> TPKIBQuery = class(TIBOQuery)"
>
> then create an SQL state as follows:
> lQryMisc := TPKIBQuery.Create(nil);
>
> Each time I get the prepare statement i get the following error:
> "Statement must have an IB_Connection assigned: <no name>"
Pass in either the TIB_Session or the TIBODatabase component.
Jason Wharton