I want to run two reports based on parameters in the report which are dates entered in at the beginning of my program and bypass crystal reports prompts..

All I can seem to do is set it so that the report still prompts up but with the dates I put in as the default. And to make my life even worse I cant seem to even pass a string variable into the parameters so i have to actually type in the dates in to pass them to the report.

Heres the code for my nightmare..

Fdate = c & " ," & a & " ," & b
Tdate = f & " ," & d & " ," & e

cr.ParameterFields(0) = "Frdate; Date(Fdate),; FALSE"
cr.ParameterFields(1) = "Todate; Date(Tdate),; FALSE"
cr.Action = 1