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

Crystal Reports 10 Date Parameter mm/dd/yy to datetime

Status
Not open for further replies.

xanra

IS-IT--Management
Jan 16, 2007
20
US
I have SQLServer 2003 database that keeps track of transactions in datetime. To make it easier on the frontend user I want to pass date parameters in the format of mm/dd/yy instead of standard datetime format.


I'm trying to get a listing of all the transactions that occurred during a specific day but when I pass a parameter {transactions.transdate}={?paramTransdate} I get no results. How can I pass this any help will be greatly appreciated.

I'm running CR10 that comes with VS2005. This is an ASP.net 2.0 application.
 
Surprised it didn't work, but you can hardcode it as:

(
{transactions.transdate}>={?paramTransdate}-1
and
{transactions.transdate}<={?paramTransdate}+1
)

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top