Robert, I think you'll find Myron's suggestion more useful than the John's and Jess' ideas, because you'll find this property useful elsewhere - for example on your Delete, Save and Cancel buttons.
Barbara
>You could establish a Form.property 'AddTable'. Then in the each page activate method
>set the 'AddTable' property to the correct table. Then your Add button would use 'AddTable'
>to determine where to add the record.
>-myron kirby-
>============================
>>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.
>>
>>Thanks,
>>
>>-Bob