• Hi,

    You have to use dynamically created query and execute it. The query should have @date_from and @date_to. Because you have to get data from CUBE (am I am right?), the problem becomes harder, but it's solvable.

    So please precise from what source are you trying to get data for a selected time period?

    Igor Micev,My blog: www.igormicev.com