Ken, I would have said that, if you had any way of determining which
prices had changed (whether up or down) given the existing data, then
you wouldn't need the flag. But if you don't have that information,
then you don't have anything on which to base the flag. Either way,
you don't need, and shouldn't create the flag.
Then I get completely lost. What does it mean to ask whether a price
has dropped since the last drop? Isn't the answer to that rather
simple? No! But I'm afraid that's an indication of just where this
thread is going.
For purposes of information, I strongly suggest a dated price table
here, keeping all the history. I don't like the approach that reports
that a price has changed, then erases the evidence. I want to be able
to answer questions, such as, "What items went up between September
and December?" "What items are at least 10% lower than they were a
year ago?" Now, that's information. While it's a bit more work to
build, it isn't any more work to enter the data. Or how about this
one, "What was the current price of an item for an order dated
2/15/03?"
If you have the information, organize it and keep it. You'll probably
be very glad you did. The work done to enter all this information is
usually many times as expensive as the work to build a good database
to store it. Don't throw away all that user data entry effort.
Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts