Date Parameters passed back to Crystal Report

129 views
Skip to first unread message

michae...@elavon.com

unread,
May 19, 2008, 11:32:11 AM5/19/08
to Rainforestnet Crystal Reports Exporter
I have two Parameters setup in my Crystal report as Type DATE. The
names are FromDateTime & ToDateTime

The examples that came with the CREXPORT don't tell me exactly how to
pass a DATE type through the batch command and have it reconginzed by
Crystal Reports.

I have gotten this command to work when I pass a string back to a
different report and display the string value in the report as a
test. I just stuck with how to format a DATE type and get it
accepted by Crystal.

Here's what I coded and the error that I keep getting:

C:\RainforestNET\crexport>C:\RainforestNET\crexport\crexport.exe -Uabc
-Pabc
-FC:\Auto_Gen_Requests_test3.rpt -OC:\Auto_Gen_Requests_pdf3.pdf
-XFile -Epdf -Sasysprd1 -Dasysprd1 -N2 -AFromDateTime -J2008-15-08 -
AToDateTime
-J2008-23-15

crexport (version: 1.2.1419.21168)
Copyright(c) 2003 Ng Teng-Yong http://www.rainforestNET.com

Discrete Parameter "FromDateTime" = "2008-15-08"

Misc Error: String was not recognized as a valid DateTime.
Type "crexport -?" for help
Reply all
Reply to author
Forward
0 new messages