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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Crystal Report to a file from VB

Status
Not open for further replies.

lpedde

Programmer
May 16, 2001
10
US
I am using VB 6 and Crystal 7 with SQL Server 6.5.

I have the following code in a VB module to prepare a crystal report to write to a file. I need to set these options on the fly because the user can also send the report to the printer.
The first three lines seem to be setting the destination, file type and file name correctly. I can not get the report to actually write to the file.
Is there a resource which will tell me all of the commands that can be used on the CrystalReport Control in VB?

crptMailingList.Destination = crptToFile
crptMailingList.PrintFileType = crptCSV
crptMailingList.ReportFileName = g_strFileName
?????

Thanks, Linda
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top