gpi
gpi
About
- Username
- gpi
- Joined
- Visits
- 603
- Last Active
- Roles
- Members, FR Team
Comments
-
You can't to use macros in ADOQuery (TADOQuery doesn't support macroses), you can build SQL statement or use parameters only
-
Set parGiorno value to 'LUNEDI' instead of LUNEDI
-
IIF function doesn't declared in FS. You must declare it in FS
-
Attach a sample with problem based on FRDemo database
-
And comment your code procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin   //AdoQuery2.Close;   //AdoQuery2.Open;      end;
-
Try to set permission for full access for all users for Fast Report 4 folder
-
Did you run installer as administrator?
-
Try to use Select from Select statement This SQL works OK in MS Access Select * from (SELECT tab1.id*3, tab1.id , tab1.name FROM tab1) order by 3 wrote: (I find it rather amazing that FR does not support sorting, especially as it does in c…
-
All works OK. See a test report template in attach
-
Try to set MasterData1.StartNewPage to False and set ADOQuery2.Master to ADOQuery1
-
FR can't to sort datasets Try to use (SELECT cumulativeAttendance FROM tbl_attendance AS T WHERE t.weeknumber = 14 AND t.Adno = tbl_attendance.adno ) - (SELECT cumulativeAttendance FROM tbl_attendance AS T WHERE t.weeknumber = 15 AND t.Adno = tbl_…
-
wrote: No response on this? I have to make a decision on the purchase and I would, thank you. Why you ignored second post from stefque?
-
Try FORMATFLOAT('00',) +'-' + FORMATFLOAT('0000',)
-
You may create child band, copy all objects from header to child band and show child band when you need with Engine.ShowBand command in script
-
Also you can use script variables instead of report variables
-
See a Programmer's manual: wrote: 1.9 Building a composite report (batch printing) In some cases it is required to organize printing of several reports at once, or capsulate and present several reports in one preview window. To perform this, t…
-
Hello, You may use Engine.ShowBand and show any band when you need For example: procedure PageHeader1OnAfterPrint(Sender: TfrxComponent); begin     if MasterData1.Dataset.RecordCount = 0 then Engine.ShowBand(Header1); end;
-
Try if engine.freespace < GroupFooter1.Height then   Engine.NewPage; Engine.CurY:= Engine.PageHeight - GroupFooter1.Height - 1;
-
Try diadatamodule.AppSrvClientGeneral.Answer.GetStreamField(2,reportdata,fldtype); reportdata.Position := 0; frxReport1.PreviewPages.Initialize; frxReport1.previewpages.LoadFromStream(reportdata); frxReport1.ShowPreparedReport;Â Â frxReport1.Previe…
-
No
-
See Programmer's manual "1.12 Creating a report form from code" chapter
-
Use TfrxOverlay band
-
You can resort preview pages after preparing of report: var i, j: integer;     page : TfrxReportPage; begin     frxReport1.PrepareReport();     j := frxReport1.PreviewPages.Count div 2;     page := TfrxReportPage.Create(nil);   …
-
Try procedure TForm1.frxReport1PrintReport(Sender: TObject); var i, Copies: integer;     ShowDialog: Boolean; begin     if frxReport1.PrintOptions.Copies > 1 then       begin         Copies := frxReport1.PrintOptions.Copi…
-
// Using: Â Â conv := TConverterQr2Fr.Create; Â Â conv.Source := QuickRep1; Â Â conv.Target := FReport; Â Â conv.Convert; Â Â FReport.SaveToFile('converted_fromQR.fr3'); wrote: What is converted the bands, database-interface, scripts an…
-
You may store variable in script variable and print this variable on group footer var MyLine: integer;   procedure GroupHeader1OnBeforePrint(Sender: TfrxComponent); begin     MyLine := ;                           …
-
See a test report template in attach
-
Try to use: Chart1.SeriesData[0].Source4 := 'clGreen;clRed';
-
Attach your report template (fr3)
-
Try to use (for Adobe Reader for example ) TfrxOLEView(frxReport1.FindObject('OLE1')).OleContainer.CreateObjectFromFile('C:\test.pdf', False);