I have Been Trying to Get Cyrstal 7.o to except a date from VB .
I am creating A front end to Operate some 50 Crystal reports. THe data
is In Oracle 8i database. I used Crystal Report Control in VB.
Here is a portion of what I have:
Private Date1 as Date
If ChkDayFlow.Value = True Then
CrystalReport1.ReportFileName = "S:\CITECT\d-01_FEV_Daily_Flow"
CrystalReport1.ParameterFields(0) = "START;Date1;True"
CrystalReport2.Connect = "PWD = REPORTS"
CrystalReport2.PrintReport
Date1 is from a text Box .
If I Replace
CrystalReport1.ParameterFields(0) = "START;Date1;True"
with
CrystalReport1.ParameterFields(0) = "START;2001/01/03;True"
The reports run fine.
I have tried setting the format in Crystal of the Parameter to Date, Date/Time,String
And Everything Else I could think of. Why Will crystal Except The date from code but not from the text box, or for that matter input box or Calendar?
Thanks CurtR
I am creating A front end to Operate some 50 Crystal reports. THe data
is In Oracle 8i database. I used Crystal Report Control in VB.
Here is a portion of what I have:
Private Date1 as Date
If ChkDayFlow.Value = True Then
CrystalReport1.ReportFileName = "S:\CITECT\d-01_FEV_Daily_Flow"
CrystalReport1.ParameterFields(0) = "START;Date1;True"
CrystalReport2.Connect = "PWD = REPORTS"
CrystalReport2.PrintReport
Date1 is from a text Box .
If I Replace
CrystalReport1.ParameterFields(0) = "START;Date1;True"
with
CrystalReport1.ParameterFields(0) = "START;2001/01/03;True"
The reports run fine.
I have tried setting the format in Crystal of the Parameter to Date, Date/Time,String
And Everything Else I could think of. Why Will crystal Except The date from code but not from the text box, or for that matter input box or Calendar?
Thanks CurtR