>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."