Data Sorting and Ordering

Alex_de_KockAlex_de_Kock Bloemfontein, Free State, South Africa
edited 9:34AM in FastReport 4.0
Good day All

Hope you can assist.

I have a complicated dataset which contains data from 01/03/2012 to date. This data is then summarized by the specific stock items, and grouped into the specific stock departments inside a report page.

I need to sort this summarized data by the sum of (<Query1."SalesQty"> - <Query1."SalesRetunsQty">) Descending.

This cannot be done inside my query, as I will then lose the functionality of searching for data in a specific date range, for eg. (01/05/2012 to 31/07/2012).
My query thus contain each and every transaction pertaining to all the stock items, which is then necessary to do the correct summary on the ReportPage.

Hope someone can come up with a solution? :-)

Thank you in advance

Comments

  • gpigpi
    edited 9:34AM
    wrote:
    This cannot be done inside my query, as I will then lose the functionality of searching for data in a specific date range, for eg. (01/05/2012 to 31/07/2012).
    Use additional query for searching

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.