Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Sorting a dataset for excel export

$
0
0
Hello NAV experts,

I have a report that in VS, I have it sorted by Item and then Bin Code. Please note that this report is using Bin Content table.

When I do an export to excel using the excel buffer table, it sort it differently because table sort is by: Location code, Item No., Variant Code, Cross-Dock Bin, Qty per Unit of measure, and then Bin Ranking.

After I run the report - in the about page, I can view the data set and the excel export goes by the order of that dataset.

My question is: how do i sort the final dataset ? Maybe I can sort it in the OnPostReport.

In SQL and VB syntax - all I would do is Order by at the end of the statement/function/project code.

Thank you !

Viewing all articles
Browse latest Browse all 10032

Trending Articles