Home > Community > General > reversing order of dataset > Antwort auf: reversing order of dataset

#8995
Bernhard KantzBernhard Kantz
Teilnehmer

You can create a FPScript formula to reverse the order of your data set:
[Code]
Arguments data
data[(NumberOfRows(data), -1, -1)]
[/code]
FPScript offers you the option of programming formulas with arguments. You can then use these formulas like functions.
You can now use this function in other formulas. It is very easy to create these types of formulas with FlexPro: You only have to click on the data sets to which you would like to apply the function, use your mouse to select them from the Object List and drag them onto the function.

See also
Data Series Operator (FPScript)
Index Operator (FPScript)
Applying Formulas to Data Sets
support@weisang.com