Hello,
I'm trying to figure out the best way to change my table design. Here's what I've got:
We offer to pre-price plants for our customers. My table was designed to hold retail pricing and SKU information for them. Program is Access 2007 FE hooked to an SQL 2005 Server. The fields are:
PlantID - Linked to the Plants table
CustomerID - Linked to the Customers table
RetailPrice
SKU
We grow about 2500 varieites of plants, so each customer has about 2500 records in this table. When we started out pricing for just 10 or 12 customers, this was managable. Now that we have over 100 customers wanting us to price for them, the table has become unwieldy and updates/appending new customers takes forever since the table is closing in on 400,000 records.
The only way I can think of is to break this into 2 tables (PlantPrices and PlantSKUs). Each table would have about 2500 records (1 for each plant type). Fields would be:
PlantID
CustomerID001
CustomerID002
CustomerID003
...
So each customer would be it's own field which held its price/SKU for that plant. I would need to add a new field to the table each time a new customer asked for pricing. I know this seems backward logistically, but I can't think of any way around it. Was hoping to see if anyone here has more ideas.
Thanks!
jrmvt