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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dates as Input Parameter

Status
Not open for further replies.

simpelli

Programmer
Jul 2, 2003
30
US
I have several reports that require begin date/time and end date/time as parameters. No big deal here.

My problem is that the client wants the DEFAULT values to display as:

FROM:
CurrentDate (again no problem), 12:01AM
TO
CurrentDate 11:59PM

How can I set the time as specified? They want it to be 1 parameter for each each. (FROM DateTime and TO DateTime)

Not FROM Date FROM Time and TO date TO Time

Any Suggestions?

-SI
 
I don't think that this is possible without using external code.

Default values for parameters are a BIG weakness in CR, you also can't set them to a current table value (dynamic parameters in general).

You may be able to use a third party viewer to accomplish this, such as Ido Millet's DataLinkViewer:


You might also check Ken Hamady's site:


-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top