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

Pass a NULL to datatime param in RDC Code

Status
Not open for further replies.

PavanKumarU

Programmer
Jan 31, 2003
56
0
0
US
Hi,
Hope someone will help me with this.
I am trying to run crystal report through VB Code. I am using RDC here. My report has some date params to which user might pass in a NULL. I am not able to set it in the code. Everything i tried gets back an error. Any ideas?
All i want to do is to able to pass a null to a datetime parameter.
Any help is much appreciated.
Thanks
-Pavan
 
hi
ok. I found the answer, and may be it will help someone . When you want to pass a null from VB or ASP, pass vb keyword "Empty" and not a null to any parameter on the report.
-Pavan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top