Hi
I am using crystal report XI I am trying to set -up a formula to retrieve all records where the Expiration EndDate <= 60 Days to Current date.
Thanks.
Okay, so you place in the selection formula
<pre>
{TRXPOL.PreAuthEndDate} in currentdate to Currentdate + 60
</pre>
This will pull all records with an expirationEndDate between the date you are running the report and 60 days after the date you run it.
If you want to pull all records, but list them as you have below, the put your code in an if statement
<pre>
IF {TRXPOL.PreAuthEndDate} < Currentdate + 60 Then
“Pre- Authorization is less than 60 Days”
Else
“Pre- Authorization Expired”
</pre>
and place this in the select statement:
<pre>
{TRXPOL.PreAuthEndDate} < Currentdate + 60
</pre>
Last Wiki Answer Submitted: July 17, 2009 8:30 pm by Jade1977440 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Thanks Jane for your help. Can you give me a bit more detail.
I am a bit of a novice at CR so, bear with me. I am looking to retrieve all records where {TRXPOL.PreAuthEndDate} is <= 60 days. How can I get it to do something like this
IF {TRXPOL.PreAuthEndDate} < Currentdate + 60 Then
“Pre- Authorization is less than 60 Days” Else
“Pre- Authorization Expired”
Not sure if this will help any but, I also have {TRXPOL.PreAuthStartDate}
Thank you.
Hi Monk2008,
Thank you for clarifying on the program — hopefully one of our members can find you an answer shortly!
Thanks,
Jenny
Community Manager
Thanks Jane for your help. Can you give me a bit more detail.
I am a bit of a novice at CR so, bear with me. I am looking to retrieve all records where {TRXPOL.PreAuthEndDate} is <= 60 days. How can I get it to do something like this
IF {TRXPOL.PreAuthEndDate} < Currentdate + 60 Then
“Pre- Authorization is less than 60 Days” Else
“Pre- Authorization Expired”
Not sure if this will help any but, I also have {TRXPOL.PreAuthStartDate}
Thank you.
Okay, so you place in the selection formula
{TRXPOL.PreAuthEndDate} in currentdate to Currentdate + 60This will pull all records with an expirationEndDate between the date you are running the report and 60 days after the date you run it.
If you want to pull all records, but list them as you have below, the put your code in an if statement
IF {TRXPOL.PreAuthEndDate} < Currentdate + 60 Then “Pre- Authorization is less than 60 Days” Else “Pre- Authorization Expired”and place this in the select statement:
{TRXPOL.PreAuthEndDate} < Currentdate + 60