Automatically get first or last value of a value list
Hello everybody, this what I am looking for:
Users can select “from - until” in a lay out. The field “from” and the field “until” are selected from a value list (drop down). It works fine. (Totally they can make 6 different selections, to be used to make selections for a print report).
But in some cases the users want to select all the records.
So, I have a button “select all”. What I can not find, is a function to get automatically the first value of the value list, and set the field “from” automatically to the first value, and set the field “until” automatically to the last value of the value list.
The values are coming from a drop down list, but they are stored in a global field.