Sort Field

fahdfahd Member Posts: 226
Dear Experts,
I have designed one Form.i have mapped some fields from Item table.
In item table we created one integer field to sort the item numbers.

In my newly created form i have mapped the same field from item table. But the problem is when i press SHIFT + F8 that field is not coming in the sorting. So how can i put that field in my sorting??

Please let me know! Thanks in advance!!! :)

Comments

  • lvanvugtlvanvugt Member Posts: 774
    In NAV sorting is based on the keys that have been defined for the table. So you need to create a key on the item table based on your new field.
    Luc van Vugt, fluxxus.nl
    Never stop learning
    Van Vugt's dynamiXs
    Dutch Dynamics Community
  • fahdfahd Member Posts: 226
    Dear IvanVugt, The key is already defined in Item table.

    Like in RetaiL item list the sorting is ok we can sort it by that column. But the same column from item table i have mapped in my newly created from and that form is basically based on Table 7002 Sales price.

    Now in my form through programming i can see that column in my newly created form. The only thing i need is that i want it to be sorted just like in the form which is based on item table.

    In my new form i have that same field which is in item table. But it is not showing in the sorting.

    Please tell me how can i bring that for sorting in my new form???
  • lvanvugtlvanvugt Member Posts: 774
    fahd wrote:
    that form is basically based on Table 7002 Sales price

    O, sorry, you should create that key on table 7002.
    Luc van Vugt, fluxxus.nl
    Never stop learning
    Van Vugt's dynamiXs
    Dutch Dynamics Community
  • fahdfahd Member Posts: 226
    Ok, Is it small step to do??

    If it is kindly me how can i define tha key in table 7002???
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • fahdfahd Member Posts: 226
    orite got it.

    Thanks alot :).

    Mibuso is the place where beginer can become an expert. The reponse is so immediate that i can never find this anywhere else!!.

    Live Long Mibuso.com!! :thumbsup:
Sign In or Register to comment.