How to add a value to an Item of a menu option button

Jérôme Rosat jrosat at mac.com
Sun Dec 26 17:51:56 EST 2004


Bonjour à tous,

In my database, I've got a table with two fields and many records:

Value	Name

12		Name1
16		Name2
25		Name3
etc.

On a card I created a menu option button with items come from the field 
Name of my database:
Menu Items:
Name1
Name2
Name3
etc.

But when I select an option, I need to now the value of the item 
selected, not the item itself.
For example, if I select "Name2", I need to know the value "16".

How to add a value to an Item of a menu option button ?

Thanks for your help.

Jérôme Rosat



More information about the use-livecode mailing list