Jump to content

Search the Community

Showing results for tags 'delphi 10.2'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Hello I'm trying to pass value to variable at runtime but when I pass text the band is not displayed. In Fast Report using Unigui I define 3 variables: FromDate ToDate Title I use this function: function TfrDM.GeneraReportePDF(const RepName: string; Rep, Title: string; FromDate, ToDate: TDateTime): string; begin frxRep.PrintOptions.ShowDialog := False; frxRep.ShowProgress := false; frxRep.EngineOptions.SilentMode := True; frxRep.EngineOptions.EnableThreadSafe := True; frxRep.EngineOptions.DestroyForms := False; frxRep.EngineOptions.UseGlobalDataSetList := False; frxRep.LoadFromFile(UniServerModule.FilesFolderPath + 'Reportes\' + RepName + '.fr3'); frxPDFExport.Background := True; frxPDFExport.ShowProgress := False; frxPDFExport.ShowDialog := False; frxPDFExport.FileName := UniServerModule.NewCacheFileUrl(False, 'pdf', '', '', Result, True); frxPDFExport.DefaultPath := ''; frxRep.PreviewOptions.AllowEdit := False; frxRep.Variables['FromDate'] := FromDate; frxRep.Variables['ToDate'] := ToDate; frxRep.Variables['Title'] := Title; frxRep.PrepareReport; frxRep.Export(frxPDFExport); end; The frxRep.Variables['Title'] doesn't admit a text, I don't know why... I need your help. Thanks. I using Delphi 10.2 Unigui 1.90.0.1530
  2. Hello programmers, I have a problem in Fast Report using Unigui, I can't understand, when I load the report at runtime the data from my dataset is not displayed, but if I do it directly without frxReport1.LoadFromFile(); everything goes well. I'm using Delphi 10.2, UniGui 1.90.0.1530 and Fast Report 6.9.12. The idea is to be able to load my reports at runtime and have the data displayed, I use function TfrDM.GeneraReportePDF(const RepName: string): string; begin try frxRep.PrintOptions.ShowDialog := False; frxRep.ShowProgress := false; frxRep.EngineOptions.SilentMode := True; frxRep.EngineOptions.EnableThreadSafe := True; frxRep.EngineOptions.DestroyForms := False; frxRep.EngineOptions.UseGlobalDataSetList := False; frxRep.LoadFromFile(UniServerModule.FilesFolderPath + RepName + '.fr3'); if frxRep.Version >= '6.0.0' then frxRep.DataSets.Add(frxDSetRecibos); frxPDFExport.Background := True; frxPDFExport.ShowProgress := False; frxPDFExport.ShowDialog := False; frxPDFExport.FileName := UniServerModule.NewCacheFileUrl(False, 'pdf', '', '', Result, True); frxPDFExport.DefaultPath := ''; frxRep.PreviewOptions.AllowEdit := False; frxRep.PrepareReport; frxRep.Export(frxPDFExport); finally end; end; If I comment the line frxRep.LoadFromFile(UniServerModule.FilesFolderPath + RepName + '.fr3'); everything goes well but as I said before the idea is to load report at runtime Can anyone help me? I will be very grateful, thanks..
×
×
  • Create New...