Hello,
How can I select multi values from Dimension Value Table.
I can have a text field with "ClearonLookup" property set to No. Then the problem rises when I select same combination with different order (a,b,c = c,a,b). Since I set the field's data type as field I'm facing the ordering issue.
How can I make multi selection that orders by dimension value's code and return me 1 string?
Please, help! ](*,)
Amaraa
Answers
Start by parsing the string. Anytime you get to a comma you know you have finished with the last value. When you have all of the values you can sort them in whatever way you want. Could be with an array, a temp table, whatever.
Once you're done combine them back into a string.
Hope that pushes you in the right direction.
My Blog - nav.education
Have a look at the standard customer list form - function similar to GetSelectionFilter() is what you want
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
is there anyway that I can take all values with '|' delimiter? I don't want the '..' be there and hide the values between.
Sorry, I'm new in Navision so I don't understand the code fully, and for now I have no idea how to change that.
Thanks for your advise,
Amaraa
You just need to simplify the routine
e.g.
Watch the length of SelectionFilter - it's only declared for 250 characters.
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
Might want to add something similar to that. My addition doesn't exactly follow NAV coding rules
My Blog - nav.education
I appreciate your help. =D>
Thanks,
Amaraa
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html