Hi,
Is it possible to pass a parameter to valuelists.
Why: I have a valuelist based on a table.
But this table again has an identifier field. So I want to have only those values in this list, which match my identifier.
Example: table stores all products, but in my valulists I want only the group fruits.
Thx.
Rainer
To do that you can create a ValueList which uses “Related Values” to be build.
For that you will use a relation “global variable to table”
For instance, using your example, you create a global variable called “g_products_group”. Than you create a relation with your products table like “g_products_group_to_tbl_products” (on one side you will have your global variable and on the other the field group of the table).
Finally you create your valuelist using this relation and you display the field “product_name” of your table.
And in your code you just need to set your global variable to the group you need to change the content of the valuelist.
thx for the fast response. Ill give it a try…
Rainer
Java since you got the sdk shipped as zipfiles with some batchfiles around ( 1997,…)
Servoy : one more reason to continue with Java and dont move to .Net…