cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to export to a excel file with just one worksheet

Former Member
0 Likes
268

When i export 85000 lines from sqlserver to excel....crystal creates two worksheet , but my client want all data at just one

there's any configuration to do this ??

    string directory = server.MapPath("~/Temp") + "/" + idUser;

    string directoryArq = server.MapPath("~/Relatorios/") + rel;

                ReportDocument cryRpt;

                cryRpt = new ReportDocument();

                cryRpt.Load(directoryArq);

                IDataReader rs = new DLLPadrao.Factory().GetDataReader("select xxxxxx");

                cryRpt.SetDataSource(rs);

              cryRpt.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.ExcelWorkbook, response2, true, "relatorio");

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Valmir,

are you using BPC MS version? If not please close the thread and repoen it in the right forum otherwise please explain your BPC and Excel version.

Regards

     Roberto