VB skill livel moderate.
I have a combobox that pulls three values:
ItemName, Cost, LowestPriceVendor.
ItemName is bound column.
I know how to pull ItemName into VB as a variable in the after update event.
What I don't know is how to pull the other two values into VB as seperate variables so I can reuse them
I can't seem to figure out the right syntax.
Here is my combobox select statement. It works fine.
SELECT [Qry_SelectAlternateItem].[ItemName], [Qry_SelectAlternateItem].[PriceperUnit], [Qry_SelectAlternateItem].[LowestPriceVendor] FROM Qry_SelectAlternateItem ORDER BY [ItemName];
In VB I can do the following, pop it in a variable, and get the ItemName.
Forms!Sub_Frm_Modal_EditScheduledMeal!CmbSelectAlt Item.SetFocus
stAltItm = Forms!Sub_Frm_Modal_EditScheduledMeal!CmbSelectAlt Item.Text
Thanks,
Phred