Subject | Re: [IBO] Is it possible to only create selects when a form is requested? |
---|---|
Author | Helen Borrie |
Post date | 2006-01-24T02:55:34Z |
At 11:21 PM 23/01/2006, Marcelo Machado wrote:
without displaying the results in a visual control?
All SELECT statements are realised by a TIB_Dataset or TDataset
descendant object, through the SQL property of that object. Such
objects - an IB_Query, IB_Cursor, IB_StoredProc, IBOQuery or
IBOStoredProc - can be on a Datamodule (a non-visual container) or a
Form (a container that can display things via visual controls). If
the dataset is active, the application can "see" the records.
Or, are you asking whether you can assign the SELECT statement to a
dataset's SQL property at run-time? If so, the answer is Yes.
We seem to need more clarity about what you actually want to do...
Helen
> Dear friends,Could you explain what you mean by "create selects" ?
>
>My database possesses many fields in several forms. Is
>it possible to only create selects when a form is
>requested?
>I would like to only make that through the application. (I use IBO)Are you asking whether you can bring a dataset into your application
>How can I make that?
without displaying the results in a visual control?
All SELECT statements are realised by a TIB_Dataset or TDataset
descendant object, through the SQL property of that object. Such
objects - an IB_Query, IB_Cursor, IB_StoredProc, IBOQuery or
IBOStoredProc - can be on a Datamodule (a non-visual container) or a
Form (a container that can display things via visual controls). If
the dataset is active, the application can "see" the records.
Or, are you asking whether you can assign the SELECT statement to a
dataset's SQL property at run-time? If so, the answer is Yes.
We seem to need more clarity about what you actually want to do...
Helen