Sorting Reports

Stimulsoft Reports.JAVA discussion
Post Reply
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

Sorting Reports

Post by TecnologiaMV »

Dear all, good afternoon!

Is there a way to configure the report to display the data in ascending order?

We noticed that, in the attached report, the data coming from the database is organized in both ascending and descending order, but in the final report this ordering is not being reflected. We would like to ensure that the Report respects the specified ordering.

Atenciosamente,
Attachments
CONSULTA AGENDAS_prueba.mrt
(31.33 KiB) Downloaded 138 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Sorting Reports

Post by Lech Kulikowski »

Hello,

Please explain your issue in more detail.

Thank you.
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

Re: Sorting Reports

Post by TecnologiaMV »

Dear all, good morning!

As mentioned earlier, the attached report has difficulties when trying to organize data by date, both ascending and descending.

By including the query in the data source and using the "order by dt_agenda asc" clause, for example, the expectation is that the data will be sorted ascendingly based on date. However, we noticed that the resulting sort is completely disordered.

I have therefore enlisted the assistance of the team to determine whether Report Designer offers any sorting alternatives that do not explicitly depend on "order by asc".

Sincerely,
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Sorting Reports

Post by Lech Kulikowski »

Hello,

Could you provide test data for your report?

Thank you.
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

Re: Sorting Reports

Post by TecnologiaMV »

Dear all, good morning!

The report contains the query. But what data do you need in order to run the test?

Sincerely,
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Sorting Reports

Post by Lech Kulikowski »

Hello,

This query to your database. We couldn't connect.

We need a sample report that we can run and reproduce the issue.

Thank you.
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

Re: Sorting Reports

Post by TecnologiaMV »

Dear all, good afternoon!

Here is the example report.

Sincerely,
Attachments
Example.mrt
(15.49 KiB) Downloaded 128 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Sorting Reports

Post by Lech Kulikowski »

Hello,

The sent report without data.

Thank you.
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

Re: Sorting Reports

Post by TecnologiaMV »

Dear all, good morning!

What is this data? Because there is a query in the data source.

Do you want the results of the database query?

Sincerely,
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Sorting Reports

Post by Lech Kulikowski »

Hello,

As a way, sql script for creating tables, and inserting several test rows. That allows us to run your report and reproduce the issue.

Thank you.
Post Reply