cancel
Showing results for 
Search instead for 
Did you mean: 

Query with Period Range

Former Member
0 Kudos

Hi All,

I had written a query for GRPO Register, which is according to my client requirement and is displaying the report correctly.

Now when i run the query it is showing from Books begining from date, where as my client wants to select the period which will be From Date - To Date.

How to assign the Period range so that when the query is executed it will prompt for the date range and allow the user to select and display the result.

Please help me out

Regards

Shanker

Accepted Solutions (1)

Accepted Solutions (1)

jitin_chawla
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You can refer to the Where and select the conditions in the Query Generator from the relevant table.

Regards,

Jitin

gagan_thareja
Participant
0 Kudos

Dear Shanker,

Please use the suggestion given by Shridharan. In case this does not help please do let us know.

Regards,

Gagan

Answers (1)

Answers (1)

Former Member
0 Kudos

you can use  between [%0] and [%1] in your query wrt date.

For example
SELECT * FROM OPDN T0 WHERE T0.[DocDate]  between [%0] and [%1]