Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a variable to run report for today + 60 days...

Status
Not open for further replies.

arachnoid

Programmer
Jun 14, 2002
108
US
What are some options for accomplishing this?

The report is an open order report where they are wanting to see the orders for 60 days out.

Can this be done by declaring a variable? If so, could you post an example

Thank you in advance.
 
You don't need a variable. It's much simpler.

In your Record Selection, you're aiming for something like this:

{Orders.Date} in CurrentDate to CurrentDate+60

Naith
 
My biggest issue is that I am working with 6 digit Julian dates and that method would require yearly maintenance.

Thanks for your reply.
 
Why?

I wouldn't have thought yearly maintenance would come into it at all.

e.g. 2452628.5 + 21 = 2452649.5

just like

20/21/02 + 21 = 10/01/03

If you need to convert your dates so you've got something easier to work with, go to and download UFLJUL.EXE, giving you access to the JulianToDate
and DateToJulian functions.

Naith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top