Discussion Locked

Saving\Updating Refreshed Reports

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do save/update a report that was opened through the report viewer in VB 6.0 after refreshing the report?

I trying to accomplish this task using the Report.saveas property.

Report.Saveas("E:\FilePath.rpt", cr80fileformat) as Crreportfileformat

Bue the above code is generating a define type error.

1 reply

by sun_shine

You are just easily save as report as follow
'Code
'Report = your report name
'C:\Test.rpt = you filepath and name
Report.Saveas "C:\Test.rpt", cr80fileformat
'End
Good luck!

This discussion is closed to new replies.