W
W
wolf-98302016-10-02 10:53:29
SQL
wolf-9830, 2016-10-02 10:53:29

How to add generated columns with dates on stimulsoft?

There is a task to create such a report on stimulsoft, the problem is that there are records in the database with certain numbers and how to make such a sequence of days in the report prntscr.com/cotdvb ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Shelemetiev, 2016-10-03
@zoroda

You need a data source that contains all dates sequentially.
To do this, I used a database query. Example on ORACLE:

SELECT least(DATE '2016-09-01',
                 trunc(SYSDATE)) - 1 + LEVEL dt
      FROM dual
    CONNECT BY LEVEL <= abs(DATE '2016-09-01' - trunc(SYSDATE)) + 1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question