Make a table to hold the values you want in the list. In my example the table is called myListValues.db and it has one field called listofstuff, which has several records. Each record contains one value for my list, for example:
listofstuff
-----------
red
blue
green
orange
The following code opens the form and populates the list, and can be placed in a script.
Code:
var
myForm form
endvar
myForm.open(":work:LJsForm")
myForm.#List6.datasource="[:work:myListValues.listofstuff]"
#List6 is name of the list object in the combo or list field (yours will be different - leave the default, don't rename it).
Mac
"There are only 10 kinds of people in this world... those who understand binary and those who don't"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.