But that is what I have done. I have a separate table as follows:
Locations Master - in a separate database with other items but table is
linked in this data base
Prodcut Master - each item, description, case count, etc.
Price Master - look up field for item #, then each price level with each
packing level price.
In your previous message you said:
=====
Why would naming the fields like this be off track? I am giving each field
the name of what it is for example
WIEACHPRICE for ITEM #8 Cones would 3.79
WIEACHPRICE for ITEM Jumping Jacks would be .39
WIEACHPRICE for ITEM Dymand Duster would be 59.99
were as
LAEACHPRICE for ITEM #8 Cones would be 3.99
LAEACHPRICE for ITEM Jumping Jacks would be .59
LAEACHPRICE for ITEM Dymand Duster would be 69.95
====
What I'm suggesting is quite different. Rather than a *FIELD* named
WIEACHPRICE, you would have a *separate record* for the Wichita price. E.g.
Product Master
123 #8 Cones
314 Jumping Jacks
225 Dymand Duster
Locations Master
2 Wichita
3 Louisiana
5 West Texas
Pricelist
ProductID Location Price EffectiveDate EndDate
123 2 3.79 8/1/2006 <null>
123 3 3.79 8/1/2006 10/14/2006
123 3 3.99 10/14/2006 <null>
225 2 59.99 5/12/2007 <null>
In this example the price of #8 Cones (item 123) went to $3.79 on 8/1/06 in
Wichita, and since the end date is null it's still at that price; in Louisian
it also was at $3.79 up until October 14, when it went to $3.99 where it is
now.
You can use a Query to find the most current price for any item in any
location from this table; you can use another query to find what the price was
as of September 1, 2006 using date ranges; etc.
Please explain more about the effective dates, as that is one of my next
obstacles, write now I am looking at creating a data base for each year - I
don't like that idea -to much can get lost in translation so to speak.
Storing data (date ranges) in a database name is even *worse* than storing it
in fieldnames - so your aversion to this idea is well founded!
Am I misunderstanding your actual structure? What are the field definitions of
Locations Master and Price Master in your current database?
John W. Vinson [MVP]