>I have a FORM that has two PAGE TABS with different tables on each PAGE. I also have a MENU that has options like NEXT and PREVIOUS record. I want to use this MENU for these PAGE TABS. How do I address the ACTIVE PAGE so that my MENU OPTIONS will know what TABLE to refer to on the PAGE TAB? Thanks…
If there are just two pages in a pageframe, try
_screen.activeform.myPageFrame.ActivePage = ;
IIF(_screen.activeform.myPageFrame.ActivePage = 1, 2, 1)
in those menu options, but you may need to add more code in case you are also use these options for moving through the records. I think, if those options are multifunctional, it may confuse the user.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison