Subject | Re: [IBO] Cleint Data Set? |
---|---|
Author | Jason Wharton |
Post date | 2001-08-08T15:09:55Z |
I am just about to the point of allowing connections to go away while a
buffered dataset remains open but I am not quite there yet. For now if you
do use a TClientDataset you will be able to do exactly what you want. Seems
there should be some code out there to move the data in. Either that or just
use the TDatasetProvider with a TIBOQuery and let Borland do it for you.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
buffered dataset remains open but I am not quite there yet. For now if you
do use a TClientDataset you will be able to do exactly what you want. Seems
there should be some code out there to move the data in. Either that or just
use the TDatasetProvider with a TIBOQuery and let Borland do it for you.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Dave Bullar" <comesailing@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, August 08, 2001 2:11 AM
Subject: [IBO] Cleint Data Set?
> I have an elementary question.
> Writing a user interface I want to keep access to the server an absolute
minimum.
> I have a form with an IB_Query with connection etc and sql=
> 'Select Bookingnumber, Date
> from Bookings
> where Surname = :sn and ZipCode = :zc
> Providing these parameters from a ??? Ib_paramEdit ?
> Showing the result in an IB_Grid.
> This should fetch at most a dozen records.
>
> Having got these records I want to disconnect from the server whilst
deciding which record is the crucial one.
> But if I disconnect the data will vanish.
>
> OK I can copy the data into a string grid or a couple of list boxes or
something but is there a better way to do it?
> Or am I being silly about the server connection?
> Is a Client Database the answer...if so how does this relate to IBObjects?