L
Liv
Hi,
I have a form with the following fields:
frmORDERS
Date
Invoice#
CompanyName
Category
It has a subform:
sfrmOrders
Invoice# (child and master link field)
VendorCode
Qty
Description
MeasureUnit
QtyPerUnit
UnitPrice
Total
The Description field is a combo box, once I select the Description all
other fields (but the Total since it is just a formula) are
automatically filled in (I used the Me! code for this).
It worked fine but now the Vendors have increased their price. I don't
want to just replace the old price with the new one since I'd like to
keep history of the orders placed and the total spend.
I tried the IIF with the Me! code but didn't work, I also thought about
having a new combo box cboPriceType where I could select the price (old
price = price1, new price = price2, etc to be ready for future price
increases) and once I select it I thought the sfrm would be the one
according to the price. But I just couldn't make it.
I have no knowledge in codes, SQL, etc. I did some DBs by reading
forums about MS Access. I would appreciate any help you can provide.
All I need is to be able to have the new price automatically filled in
the orders placed after June 14th. but keeping the old price in those
placed before that date.
Thx in advance )
I have a form with the following fields:
frmORDERS
Date
Invoice#
CompanyName
Category
It has a subform:
sfrmOrders
Invoice# (child and master link field)
VendorCode
Qty
Description
MeasureUnit
QtyPerUnit
UnitPrice
Total
The Description field is a combo box, once I select the Description all
other fields (but the Total since it is just a formula) are
automatically filled in (I used the Me! code for this).
It worked fine but now the Vendors have increased their price. I don't
want to just replace the old price with the new one since I'd like to
keep history of the orders placed and the total spend.
I tried the IIF with the Me! code but didn't work, I also thought about
having a new combo box cboPriceType where I could select the price (old
price = price1, new price = price2, etc to be ready for future price
increases) and once I select it I thought the sfrm would be the one
according to the price. But I just couldn't make it.
I have no knowledge in codes, SQL, etc. I did some DBs by reading
forums about MS Access. I would appreciate any help you can provide.
All I need is to be able to have the new price automatically filled in
the orders placed after June 14th. but keeping the old price in those
placed before that date.
Thx in advance )