G
Guest
I have a table for material cost called [Material]
I have a form called [Production] that populates my production table
in the form i have a combo box called "ingredient1" with a row source set
like this
SELECT Material.ID, Material.MaterialName, Material.Cost FROM Material;
and in the AfterUpdat Event I have this which populates the "IngCost1" Text
box with the rate of the ingredient from the combo box.
Now the problem the ingredient rates will be updated throught the year and
when we fill out the form i would like the most recent cost for ingredient 1
to populate the Textbox IngCost1. material tabel has fields "date" ,
"MaterialName", "Cost", "ID"
Thanks
Bart
I have a form called [Production] that populates my production table
in the form i have a combo box called "ingredient1" with a row source set
like this
SELECT Material.ID, Material.MaterialName, Material.Cost FROM Material;
and in the AfterUpdat Event I have this which populates the "IngCost1" Text
box with the rate of the ingredient from the combo box.
Now the problem the ingredient rates will be updated throught the year and
when we fill out the form i would like the most recent cost for ingredient 1
to populate the Textbox IngCost1. material tabel has fields "date" ,
"MaterialName", "Cost", "ID"
Thanks
Bart