>>>>>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…
>>>>
>>>>Hi Robert,
>>>>
>>>>Use a property that have the current table.
>>>>
>>>>In the activate event of each page tabs, just include THISFORM.cCurrentTable= "myTable"
>>>>
>>>>and in the menu option :
>>>>
>>>>cAlias= _SCREEN.ActiveForm.cCurrentTable
>>>>SELECT &cAlias
>>>>SKIP 1
>>>
>>>thanks Sonny for your answer.. why do I need to do that when the DE of each
>>>PAGE TAB is going to change to ALIAS? I just want a menu (ADD/DELETE/NEXT/etc) that works with mulitple PAGE TABS with different TABLES...What do you think..thanks rob
>>
>>How I understand it is :
>>
>> You have 2 pages, the first is customer and the second is order. If the current page is customer, you want to add/delete/next the customer table. If the current page is order, you want to add/delete/next the order table.
>>
>>Is that you want to do?
>
>yes
So, my solution is good. You just have to create a property and set it when your active page changes and then, just select it when you use a menu option.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only