SQL code of the subform's RecordSource
SELECT payments.DatabaseCustomerId, Customer.CustomerName, Customer.CustomerSurname, payments.PaymentId, payments.Amount, payments.Information,
FROM invoice INNER JOIN (Customer INNER JOIN payments ON Customer.DatabaseCustomerId =...