SELECT * FROM Orders WHERE Customer_Number =: x (if you want the sub-form to show all data from the orders table)
SELECT * FROM Pedidos WHERE Cliente_Nr =: x (si desea que el subformulario muestre todos los datos procedentes de la tabla de pedidos)