You are getting close, but the assignment to the combobox's Values property is best made with the Editform() function as your macro runs and before the form displays. Here is an example: Assuming in $Form you have as you indicated above:
Then this would install the choices:
When the user of the form selects a choice, that can be found in a string variable with the same name as the control, in this case: $Choosefilter
So the actual Filter is then set with a statement like this:
CODE |
Name = Choosefilter Type = Combobox Enabled = Yes Height = 21 Left = 200 Top = 56 Values = Width = 145 Taborder = 10 |
GSK |
$Form=EditForm($Form,"Choosefilter","Values",sysinfo("Filters")) |
When the user of the form selects a choice, that can be found in a string variable with the same name as the control, in this case: $Choosefilter
So the actual Filter is then set with a statement like this:
GSK |
FILTER Name=$Choosefilter |