|Function||Returns a drop down list for a folder column|
s10folderlist( attrname = "kunnr" foldername = "mycustomers" ).
myattrname type string,
myfoldername type string,
myddlstring type string.
attrname = myattrname
foldername = myfoldername ).
s10folderlist( ) builds up a dropdown list consisting of all values of the
specified table column. For each value,
the name of the value is determined with s10standardname() and the number of values is added in brackets.
This is a simple way to provide the user with a subsequent further selection in a table display.
When implementing this, please note that you need two tables for the
display: A basic table with all rows, in the example "visits_customer_all" with
all customer contacts in the selected period. On this, s10foldername() is
applied to generate the dropdown list for the status. And a second table to
display the records, which is built up from the basic table according to the
user selection for the status in each case.