Brad,
You've just discovered some of the problems caused by using Wizard code. In your case, the easiest way is to store the active table name in a form property. In the Click() method for the navigation buttons add a command to SELECT the correct table.
Then, call the original click() code with DODEFAULT() (if you're using VFP5) or with the :: operator if you're using VFP3.
HTH
Barbara
>I have used the Form Wizard to create a Form. I want to add a control to select one of two similar tables for the form to work on.
>
>This works fine except that every time one of the navigation buttons created by the wizard is used, the original table is accessed.
>
>How can I fix this?