Subject | Re: [IBO] A Few Simple Questions |
---|---|
Author | Jason Wharton |
Post date | 2002-01-02T18:45:08Z |
> Hi All/Geoff,Let's please remember Geoff's efforts here are totally voluntary.
> Sorry for all of the questions, but generally, I like to understandexactly
> why I am doing something(I would love to wade through tons of IBOBe sure to get the GSG. Small investment for a nice return.
> code(hopefully someday soon), but time does not allow this).
> I am trying to determine a system(plain vanilla initially) of preparing,and
> opening, closing datasets, committing transactions at the correct times
> places(all in a multi user environment).It's up to you. If you set its CommitAction to caClose it will close when
>
> 1. Opening datasets
> This I know how to do.
>
> 2. Closing datasets
> If I have a simple form which allows editing of a table(using TIB_Query),
> can I close it in the forms OnDestroy event. Would/could another method of
> closing be used if I had an TIB_Transaction on the form?
your transaction is ended.
> 3. Preparing TIB_QueryIt is automatically prepared for you as necessary and remains that way until
> When is this done explicitly. Where can it be be set to be done
> automatically(if)?
you explicitly unprepare it.
> 4. UnPrepareDon't keep a statement prepared unless there is good probability it will be
> Same as above.
used frequently.
> Comment:- I noticed in the code(v4.2E) that CommitAction(TIB_Query) isWIP.
> Setting this value has no effect then?It is fully implemented now.
> Many Thanks,Jason Wharton
> Dion
CPS - Mesa AZ
http://www.ibobjects.com