hi everyone
i made crystal report then i saved it as a word document but i passed parameters to that report then an error occured after that
the error is:-
missing parameter values ok
i tried to save it with 2 different codes but th same error shows up
the first code is:-
CrystalReport1 wordreport = new CrystalReport1();
filename = saveFileDialog1.FileName;
ExportOptions op = new ExportOptions();
op.ExportDestinationType = ExportDestinationType.DiskFile;
op.ExportFormatType = ExportFormatType.WordForWindows;
DiskFileDestinationOptions dfdo = new DiskFileDestinationOptions();
dfdo.DiskFileName = filename;
op.ExportDestinationOptions = dfdo;
wordreport.Export(op); -----------------------here i get the error
dfdo = null;
wordreport = null;
the other code:-
CrystalReport1 wordreport = new CrystalReport1();
filename = saveFileDialog1.FileName;
wordreport.ExportToDisk(ExportFormatType.WordForWindows, filename);---------------here i get the error
wordreport.SetDataSource(dataReport);
wordreport = null;
can anybody help plz