Connecting Tech Pros Worldwide Help | Site Map

crystal report does not show up in vb6

Newbie
 
Join Date: Jan 2008
Posts: 2
#1: Jan 11 '08
i am reciveing this error "20525 unable to load report"
i can't view crystal report i designed and saved as *.rpt
in vb6
"report.ReportTitle = title
report.DataFiles(0) = App.Path + "\mydb.mdb"
report.ReportFileName = App.Path + "report1.rpt"
report.Action = 1"
is the error in the line "report.Action = 1"
i want to know why the report dos not show up
QVeen72's Avatar
Moderator
 
Join Date: Oct 2006
Location: Bangalore
Posts: 1,385
#2: Jan 13 '08

re: crystal report does not show up in vb6


Hi,

You forgot a "\" in Report file name..:

report.ReportFileName = App.Path + "\report1.rpt"

Regards
Veena
Newbie
 
Join Date: Jan 2008
Posts: 2
#3: Jan 15 '08

re: crystal report does not show up in vb6


report.DataFiles(0) = App.Path + "\MY_DB.MDB"
report.ReportFileName = App.Path + "\report1.rpt"
report.Action = 1

The report still can not err the report the program shutdown without showing any thing
Reply


Similar Visual Basic 4 / 5 / 6 bytes