Hi,
I am confused on how to go about doing this. This is my scenario.
The form presents a combo box of different options say apple, cauliflower, rose etc.and other details to be filled in like purchase amount.
Now based on what the user selects in the form access should go and assign a product id to it. The product id is the primary key in this regard. Say the user selects apple. All fruits have the product id starting with 111. In that case access should go the table and assign that particular entry a product id 111xxx where xxx is a randomly generated number. Similarly all vegetable will have a prefix of 222. Please let me know how to go about doing this.