Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - A question about - ACTIVE PAGE
Message
From
14/07/1997 12:18:05
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Quebec, Canada
 
 
To
14/07/1997 11:42:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00039818
Message ID:
00039841
Views:
36
>>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform