I'm familiar with defining a Dictionary object and storing pairs of values, e.g.
ProductCode234, Bread
ProductCode546, Milk
ProductCode812, Tea
I know that if I want the value of product code 234 I use dictionary.item("ProductCode234") to retrieve the value "Bread".
But how can I lookup "Bread" to retrieve the product code? Is this possible without using a for..each loop?
Thanks,
May
ProductCode234, Bread
ProductCode546, Milk
ProductCode812, Tea
I know that if I want the value of product code 234 I use dictionary.item("ProductCode234") to retrieve the value "Bread".
But how can I lookup "Bread" to retrieve the product code? Is this possible without using a for..each loop?
Thanks,
May