Hi guys,
I've been experimenting with Tab Control forms in Access 2003.
I've setup 3 tabs on my form with a Tab Control.
The first 2 tabs, Customer Info 1, Customer Info 2, reference the same table.
The last tab, Payments, has a subform that displays all the payments the customer has made.
The underlying Record Source for the entire form is:
SELECT tblCustomers.*, tblPayments.* FROM tblCustomers LEFT JOIN tblPayments ON tblCustomers.ID=tblPayments.Customer;
The problem is, when I scroll through my Customers on the first two tabs (i.e. only referencing the Table: Customers), I get duplicates of the same customer for every payment the customer has made.
I setup a LEFT JOIN between the Customers and Payments table purposefully for this Form, to ensure that I could veiw all Customers, regardless of whether they had made a Payment or not.
Perhaps I am using the Tab Control inappropriately? Maybe it's better suited for a single table with many fields?
Not sure if this is a programming problem, or poor design. Not very familiar with Tab Control forms yet. But if I can get it working, it will fit everything together beautifully!!
Anyone got around this before?
I've been experimenting with Tab Control forms in Access 2003.
I've setup 3 tabs on my form with a Tab Control.
The first 2 tabs, Customer Info 1, Customer Info 2, reference the same table.
The last tab, Payments, has a subform that displays all the payments the customer has made.
The underlying Record Source for the entire form is:
SELECT tblCustomers.*, tblPayments.* FROM tblCustomers LEFT JOIN tblPayments ON tblCustomers.ID=tblPayments.Customer;
The problem is, when I scroll through my Customers on the first two tabs (i.e. only referencing the Table: Customers), I get duplicates of the same customer for every payment the customer has made.
I setup a LEFT JOIN between the Customers and Payments table purposefully for this Form, to ensure that I could veiw all Customers, regardless of whether they had made a Payment or not.
Perhaps I am using the Tab Control inappropriately? Maybe it's better suited for a single table with many fields?
Not sure if this is a programming problem, or poor design. Not very familiar with Tab Control forms yet. But if I can get it working, it will fit everything together beautifully!!
Anyone got around this before?
Last edited: