Hi everyone,
CR version 7
Access 97
I am opeing crystal report through access. I have to set date parameter. I get promoted for the date parameter but when I choose the date I get error messageunable to connect.What am I doing wrong?
This is my code
Dim db As Database
Dim crpApplication As CRPEAuto.Application
Dim crpReport As CRPEAuto.Report
Set db = CurrentDb()
Set crpApplication = CreateObject("crystal.crpe.application")
Set crpReport = crpApplication.OpenReport("H:\PatientSurvey\ageRpt.rpt")
crpReport.Preview
Rekha
CR version 7
Access 97
I am opeing crystal report through access. I have to set date parameter. I get promoted for the date parameter but when I choose the date I get error messageunable to connect.What am I doing wrong?
This is my code
Dim db As Database
Dim crpApplication As CRPEAuto.Application
Dim crpReport As CRPEAuto.Report
Set db = CurrentDb()
Set crpApplication = CreateObject("crystal.crpe.application")
Set crpReport = crpApplication.OpenReport("H:\PatientSurvey\ageRpt.rpt")
crpReport.Preview
Rekha