Subject | Re: [IBO] How-To detach a TIB_Dataset from a TIB Query. Stateless TIB_Dataset. |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-07-05T13:04:45Z |
At 02:10 PM 05-07-02 +0200, Magnus Karlsson wrote:
TIB_Query. All of its properties and methods are inherited by TIB_Query. A
TIB_Query is already a TIB_Dataset so the output of the query statement is
already stored in a TIB_Dataset! Please tell us what you are trying to
achieve...
TDataset, when TIB_BDataset (a descendant) is used as a wrapper for the
TDataset-compatible datasets.
used as the detail set in a master-detail relationship.
as the lookup set in a Keysource-Lookup relationship.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>Hi,TIB_Dataset is the base class for several descendants, including
>
>I wish to extract the retrieved data from a TIB_Query and store it in a
>TIB_Dataset. The problem is that the data vanish from the TIB_Dataset the
>moment I close the TIB_Query?
TIB_Query. All of its properties and methods are inherited by TIB_Query. A
TIB_Query is already a TIB_Dataset so the output of the query statement is
already stored in a TIB_Dataset! Please tell us what you are trying to
achieve...
>Other properties I have looked at isThe IBODataset property does not pertain to TIB_Query. It refers to the
>IBODataset
TDataset, when TIB_BDataset (a descendant) is used as a wrapper for the
TDataset-compatible datasets.
>MasterDatasetThe MasterDataset property is used internally when the TIB_Query class is
used as the detail set in a master-detail relationship.
>KeyDatasetThe KeyDataset property is used internally when the TIB_Query class is used
as the lookup set in a Keysource-Lookup relationship.
>But they are all NULL.Of course. They are nil because the supporting properties are not used.
>I also tried to use the copy constructor for TIB_Dataset, with input thePlease provide a good description of what you want to do.
>opened TIB_Query, but afterwards I close the TIB_Query and iterating throw
>the newly copy-constructed TIB_Dataset I receive a unknown cannot read
>exception.
>Does anyone know how to accomplish a stateless TIB_Dataset?How "stateless"? Please describe.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com