This appears to be a question that should be asked in the FM Pro From instead of the FM GO Forum. (See tabs at top of this screen).
ValueListitems ( Get ( FileName ) ; "name of Value list in quotes" )
Will return a list of all items defined in the value list. What exactly do you want to do with this value list?
Note: get ( Filename ) is safer than "filename.fmp12" as it allows you to rename the database file without changing the results returned by this function.
Use a global field set as a popup menu using that value list. You could reference that global field in your button script or set the popup list to do the work and not need the button. You might try an On Modified trigger for the popup list.
Works great. Thank you!