Subject | Re: [IBO] Sample IBOQuery (project) questions |
---|---|
Author | Peter Richards |
Post date | 2001-10-07T11:53:24Z |
Hi,
On 5 Oct 2001, at 22:38, Helen Borrie wrote:
> At 04:28 PM 05-10-01 +0800, you wrote:
>
> >Yes, IBO certainly is powerful, everything worked okay, and I can see the
> >data in the IB_Grid. However, when I press F9, no data in the grid. I
> >guess it is that 'PasswordRemembered' thing you mentioned.
>
> No, the property is PasswordStorage and, for experimentation purposes, set
> it to psNotSecure. Just don't deploy anything with this setting.
Okay
> But that's not what is stopping you from seeing data. You actually need to
> have your app make the connection. In the GSG, about 2/3-way down the
> topic "Working the Ropes" is a piece of connection code which should work
> for you.
I'll check that out, and work through the GSG, thanks.
> If LoginPrompt is true, IBO will jump into this event and have you enter
> (or confirm) the connection settings (incl. user name and password); but
> it doesn't open the datasets for you.
>
> There are lots of good reasons for this but one of the key ones is that, in
> client/server work, you often (even *usually*) want to keep datasets closed
> until the app requires them to be open. Typically, you might have one
> dataset open to provide a selector that the user will use to tell the app
> which records she is interested in. IBO can pick up selected values as
> input parameters for another query.
Bit different to keeping an application open all day, which is what they
do now, but that's desktop apps, and not client/server, so we will all
have a lot to learn, a bit of a quantum leap.
Thanks,
Peter