SELECT * FROM Orders WHERE Customer_Number =: x (if you want the sub-form to show all data from the orders table)
SELECT * FROM Orders WHERE Customer_Number =: x (чтобы показать все данные таблицы заказов в подчиненной форме)