Re: auto update form value
- From: "storrboy" <storrboy@xxxxxxxxxxxx>
- Date: 15 Feb 2007 17:04:22 -0800
On Feb 15, 6:08 pm, "Phil" <no-...@xxxxxxxx> wrote:
Hello,
I have a sales form, order details, that shows Product ID, quantity, Unit
Price, etc. I have a Products table, Products, that has Product ID, Stock
Level, Unit Price.
What i would like to do is automatically insert the unit price into the
sales form depending on the Product ID that is entered into the sales from.
Can anybody please explain to me how to do this ?
Thank you
The method you use will depend on what type of control Prodcut ID is.
If it's a combobox or listbox (If a textbox I would consider changing
it), include the Unit Price as a column in it's Rowsource. In the
AfterUpdate event use..
Me![pricebox]=me![combo].Column(x)
(replace control names and column number as needed)
.
- References:
- auto update form value
- From: Phil
- auto update form value
- Prev by Date: Re: Type Mismatch Error in Recordset Where Clause
- Next by Date: Re: Store Old Job Index
- Previous by thread: auto update form value
- Next by thread: Please confirm my understanding for minimizing BE to FE data transfer
- Index(es):