Jump to content

ydarsius

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by ydarsius

  1. no one can help me?? 

     

    i make a program with unigui and fast report for report (can do excel export).  

     

    i have 3 server

     

    no.1 use window server 2008, the excel export run smoothly with client computer, the client computer can produce excel file same as the report. running well, no problem.

     

    then i copy it to computer no. 2 same spec, i get the error message when i execute the excel export, the client computer can't produce excel file. 

     

    then i put the program in the windows 7's computer (no 3), the client computer can produce excel file. same as no .1.

     

    anyone here have same problem as no.2 error?

  2. why i cant create excel file, this is the error

     

     

    n46vi8.jpg

     

    i use fast report, here is my code

     

    procedure TRptModule.MyFrxexcel(frxReport: TfrxReport);
    begin
     frxReport.ShowProgress:=False;
     frxReport.PrintOptions.ShowDialog:=False;
     frxReport.EngineOptions.SilentMode:=True;
     frxXLSXExport1.SlaveExport:=False;
     frxXLSXExport1.SuppressPageHeadersFooters:=False;
     frxXLSXExport1.Wysiwyg:=True;
     frxXLSXExport1.FileName := UniServerModule.LocalCachePath +RptName;
     frxXLSXExport1.DefaultPath := '';
     frxReport.PrepareReport();
     frxReport.Export(frxXLSXExport1); // Export Report
     UniSession.SendFile(UniServerModule.LocalCachePath +RptName, RptName);
    end;
     
    Regards
     
    yudi
×
×
  • Create New...