AnsweredAssumed Answered

Automatically get first or last value of a value list

Question asked by lijnbach on May 10, 2014
Latest reply on May 10, 2014 by lijnbach

Title

Automatically get first or last value of a value list

Post

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.

      

Hans Lijnbach

select_all.jpg

Outcomes