Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Records in a Page Frame
Message
 
 
To
06/05/1998 01:35:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00097235
Message ID:
00097242
Views:
18
>How do I set up an ADD button procedure so it knows that when I change the Active Page in a Page Frame, it knows to add a record to that particular table in the active page. For example I have 4 pages called Student, Parent, Emergency, and Grades. If I click on the Student Page, when I click on the ADD button I want it to only add to the Student Table.

You can use the PageFrame's ActivePage property.

DO CASE
CASE Thisform.PageFrame.ActivePage = 1
Select mydesiredtable
CASE Thisform.PageFrame.ActivePage = 2
CASE Thisform.PageFrame.ActivePage = 3
ENDCASE
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform