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

Crystal Web Server - Dates from VBScript to Web Report

Status
Not open for further replies.

davidsheardown

Programmer
Sep 23, 1999
7
0
0
AU
Although I know Crystal say the VBScript DATE type is different to the Crystal Reports DATETIME data type, is there any way around this ??<br>
<br>
We are using Stored Procedures to SQL Server, and have START DATE and END DATE parameters. I need to pass a user date (from an ASP page) to the report, but of course you cannot use the cdate function !<br>
<br>
Any help would be most useful !!
 
I pass in a string '9/1/1999' then use CONVERT in SQL stored procedure to convert back to datetime.<br>

 
According to the docs, the Crystal Automation server requires all stored procedure parameters to be set as strings.<br>
<br>
Hope this helps.<br>
<br>
Michael<br>
ReCrystallize Web Wizard for Seagate Crystal Reports<br>
 
Thank you all. I have taken the advice and just pass STRINGS to the stored procs !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top