Is there a way to code how I want a form to sort field in page?

mohmdmohmd Member Posts: 51
i make a page General Ledger Entries

i make a variable field dimension 3
i want to make a sorting assending and desecending in this column when i run the page
what is the way to make this in c/AL code

Best Answer

Answers

  • mohmdmohmd Member Posts: 51
    DimensionSet.SETCURRENTKEY("Dimension Set ID");
    DimensionSet.ASCENDING;
    DimensionSet.SETRANGE("Dimension Set ID","Dimension Set ID"
    i have write this code but the sorting does not work
    nwbkpdgh9vby.png
    on the green box there is no sorting arrow (asscending or descending)
    what is the way to solve it?
  • mohmdmohmd Member Posts: 51
    customergroup dimension is the dimension_3
Sign In or Register to comment.