Thanks for your response Dave. Perhaps I did not adequately explain
the problem.
When customer orders are created, the line items ordered are recorded
using the order entry form by a combination of manually typing in
values and retrieving values that are calculated. The important fields
include:
Quantity Ordered (manually typed in).
Product Ordered (selected via combo box that looks up the product).
The item Selling Price (automatically entered via query that
calculates it).
A discount that's applied against the item selling price (typed in as
a percentage 5%,10%, etc.)
All values that are typed into the order form never change. The
selling price (not manually entered) changes whenever the cost price
changes (due to new purchases of that particular product). This
happens because the customer selling price of the product is
calculated up from the weighted average of the purchase price of the
product.
If the order form required manual entry of the selling price there
wouldn't be a problem recalling it in the future. However, since it's
calculated, it's subject to change. My goal is to use the calculated
price without having to manually type it into the selling price
control. Typing the value in can lead to errors and is not efficient.
If I could capture the selling price (at the time of order entry)and
store it without it being bound to the query that continually
recalculates it...problem solved.
Thanks
"David W. Fenton" <dX********@bway.net.invalid> wrote in message news:<Xn**********************************@24.168. 128.86>...
Back to my original question.....How can the selling price be
stored in a table? Keep in mind that the selling price is the
result of a number of queries.
Well, you store a quantity in the invoice line item, so add a field
for the price, and write the price to that record when it's created,
at the same time you write the quantity (and all other data in the
line item record).
That's what other folks told you.
I'm not sure I understand why that's a stumbling block for you.