I like to to get values from the Value Lists (manage database) into variables. How do i do that?
Use the ValueListNames() and ValueListItems() functions.
Can you describe what you want in more detail? Value lists are set up for entering data into fields, not variables. If you want to select a value from a list and put it into a variable, you have to select the value on a field formatted with that value list and then use a script or possibly the Let Function inside a layout object to copy the field's value into a variable.
You can also use the ValueListItems function to get a return separated list of all the values in a given value list.
If I understand you correctly you can use the Design function 'ValueListItems' to return the list of values in a named value list:
FileMaker Pro 15 Help
You could then loop through the list in your script to get each one into a variable.
I think you know what I meant. And ValueListNames() is exectly what I need. Thanks! How have I overlooked this one.
Retrieving data ...