Set up your button to pass the table number as a script parameter if you have a button for each table. That way, all the buttons can perform the same script.
Option 1: Go To Related Records:
Set Field [YourTable::KeyField ; Get ( ScriptParameter ) ]
Go To Related Records
Option 2: Perform a find:
Go to Layout [Specify layout of table to be searched]
Enter Find Mode  ---> clear the pause check box
Set Field [YourTable::TableNumberField ; Get ( ScriptParameter ) ]
##you might need to specify additional criteria with additional set field steps---don't know enough about your system to tell
Set Error Capture [on]
Will this work even if the table of Tables is just a child of the parent Order? I mean the entries in the table Tables does not get long: it just gets updated. For example I have permanently 14 tables in the database. Their status just gets updated between 'Free' and 'Active'.
Option 2 will work in any case. Option 1 requires a relationship that correctly matches to the one specific record you want to see brought up. And a specific relationship can be designed to produce that result without changing existing relationships if that is necessary.
I'd need a much more detailed description of your tables and relationships before I can discuss either approach in more detail.