Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

export results in empty word doc

Status
Not open for further replies.

ttchimera

Programmer
Jun 13, 2007
12
US
I'm trying to export a Crystal Report to a Word document via code. I get no errors when executing my code; but when I open the file, there is only the headers: no details. It works when I export through the CrystalReportViewer object.
 
<It works when I export through the CrystalReportViewer object.
I don't know Crystal too well, but isn't that what that object is for? You don't describe what you mean by "via code" but it's safe to assume that Crystal has some specialized requirements to export reports into some standard data format. So, if it works, then why not do it that way?

Bob
 
I trying was export the report without loading a form. I am kind of new at vb (i have a better background in c++). I was hoping to use the export method.
 
I forgot to add, I trying to generate reports by a scheduler that passes a parameter for which report to run.
 
Ok. I'm not sure that the difficulty is with VB. You might want to try posting this in one of the Crystal Reports forums.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top