Subject Re: Record navigation disabled when form opened by menu
From Stuart Pacholko <spacholko@accesscomm.ca>
Date Wed, 19 May 2021 11:19:20 -0400
Newsgroups dbase.getting-started

Hi

Thanks for the response.

My form was XDML but I converted it to OODML by adding rowset data connections and replacing all XDML code with rowset commands.  The form has a rowset connection, and the source code has

   this.rowset = this.prob1.rowset

The Navigation functionality is only disabled when the form is opened by a menu.  The navigation works when you double click on a form.

New OODML forms that were created from scratch have this same problem

Thanks
stu









Ken Mayer Wrote:

> On 5/19/2021 5:35 AM, Stuart Pacholko wrote:
> > Hi
> >
> > The Record navigation buttons are disabled when a form is opened by menu.
> > (First row, previous row, next row, last row)
> >
> > How do I enable this function?
>
> If your form is not using OODML (meaning you are using XDML to interface
> with the data -- the USE command to open the table and so on), the form
> cannot use those buttons. If you ARE using OODML (you placed a query or
> data module object on the form, and so on), make sure that in the code
> after the controls this statement (or one like it) exists:
>
> this.rowset = this.myquery1.video1.rowset
>
> Ken
>
> --
> *Ken Mayer*
> Ken's dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
> dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm