>>>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement