In the database there are several companies. Currently there are 2 sets of rates (there may be more later on).<br>
How should I design this relation? I currently have a Company table [which includes a Long Integer field for RateTable#]; a RateTable table [companyID#, RateTable# as a Counter field]; and the 2 Ratetables [each has a TableID#].<br>
I run into problems when I try to form a query. How can I specify that Company A with RateTable#1 should go to RateTable#1 when it's time to generate an invoice?<br>
I had originally had just one RateTable, with different columns for each rate base. But I didn't know how to reference the required columns.<br>
Using DLookup is slow and inelegant for printing quantities of invoices.<br>
Any suggestions?
How should I design this relation? I currently have a Company table [which includes a Long Integer field for RateTable#]; a RateTable table [companyID#, RateTable# as a Counter field]; and the 2 Ratetables [each has a TableID#].<br>
I run into problems when I try to form a query. How can I specify that Company A with RateTable#1 should go to RateTable#1 when it's time to generate an invoice?<br>
I had originally had just one RateTable, with different columns for each rate base. But I didn't know how to reference the required columns.<br>
Using DLookup is slow and inelegant for printing quantities of invoices.<br>
Any suggestions?