Skip to Content
author's profile photo Former Member
Former Member

"Show SQL Query" Current Date

When going to "Show SQL Query", how can I get the "currentdate" function to stick instead of it switching to a hardcoded date range like you see below? We want the report to show the date_received = currentdate

(PO_RECEIPTS.DATE_RECEIVED>=TO_DATE (22-04-2016 00:00:00, DD-MM-YYYY HH24:MI:SS) AND PO_RECEIPTS.DATE_RECEIVED<TO_DATE (23-04-2016 00:00:00, DD-MM-YYYY HH24:MI:SS))

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Apr 22, 2016 at 03:19 PM

    In the Select Expert, take out the date range and replace it with:

    {PO_RECEIPTS.DATE_RECEIVED} = currentdate

    If that doesn't get what you want, please post the full selection formula fromt the Select Expert.

    -Dell

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.