Subject | Re: [IBO] EOF BOF craziness |
---|---|
Author | Paul Hope |
Post date | 2003-09-09T09:10:33Z |
Harald
can't tell me it is not possible when the code to do it is in the NavBar
source.
I'm simply saying that Next and Prior should not go beyond the ends of the
data.
Regards
Paul
> Paul,and 3 years before that using the BDE and it has no problem with this. You
>
> [IBO] .. craziness ? After 3 years using IBO, you should know a little
> more about these client/server basics !! With single fetching, how can
> IBO know the begin or end of the dataset ? What should it return other
> than a bof/eof error ??? You really should read some basic tutorial.
can't tell me it is not possible when the code to do it is in the NavBar
source.
I'm simply saying that Next and Prior should not go beyond the ends of the
data.
>Seems a lot of mouse work to get round what I see as flawed behaviour ;-)
> The most easy way to solve your problem without any extra coding is:
> ------------------------------------------------------------------------
> * From the Delphi standard component tab place a ActionList on your form.
> * doubleclick on the actionlist.
> * press "New standard action".
> * choose TIB_ActionNext and TIB_ActionPrior.
> * assign at least your datasource to the actions datasource property.
> * place two standard buttons for Next/Prior on your form.
> * Assign the appropriate action to each buttons action property
>
> That´s all you have to do, IBO´s predefined actions do all the rest !
>
> Harald
Regards
Paul