
I have an Option Menu (on a card holding product data) and I have scripted the 'description' field from a database table to appear in it so that the user gets a list of (in this case) colours. When the user saves the product, I want to save the id for the colour they have chosen, NOT the description they saw. At the moment I achieve this by reading the database to populate the colour descriptions, then taking the colour selected by the user and finding it in the colours database table (again), then saving the associated id. Q. Is there a cleaner way of doing this to avoid this extra read of the database?
Many thanks in advance for any suggestions.
P.S. Be gentle with me as I am but a tender Revolution Newbie
