Default Avatar

Quietman

Quietman

About

Username
Quietman
Joined
Visits
0
Last Active
Roles
Members

Comments

  • Yes after the post i have think about that method and do it with success.. If you are using SQL Server write something that looks like this: SELECT worker = (SELECT SUM(salary) FROM employee WHERE emp_type = 'WORKER'), manager = (SELECT …
  • Look at frxXMLSerializer. This should give you some hints. Only thing you're doing is adding a field/tag to the XML so I don't know how much easier (user friendly) you can make it. Maybe if I get bored this weekend I'll convert what I've writte…
  • Why are you doing this in a header/footer. You should be doing this in your query. Look at your SQL Manual for things like Count(), Sum(), Min(), Max(). If you are using ADO going to something like SQL Server this is rather easy to do. Wayne
  • That's why I wrote a custom app that changes the XML. It would be nice to be able to create an inherited object but that's not possible. Since I rarely use TAG in TObject I descided to take advantage of this in the XML. Everything with the same T…
  • > Wayne, I think you didn't catch it. I was asking about copying text portions from > preview. I did understand what you meant however I didn't want to suggest you looking at fixing a bug in Fast Reports. It looks like when you do a Pre…
  • I used to do what you are saying with QuickReports by inheriting the form but I haven't found the a way to do that with Fast Reports. If you look at the source code that generates the .FR3 file you'll notice that the .FR3 file is nothing but a XM…
  • For small sections there is the Print Screen button on your keyboard. I frequently do this export into Paint to cut only what I want then paste that directly into a Word document. If you own PDF you probably could save the document in a PDF format…
  • Never tried before but have you looked at the TfrxReport source? TfrxReport has a published property called PrintOption and TfrxPrintOptions has a published properties called Copies. Why don't you create yourself a variable and then grab that in s…
  • I never trust a CLEAR object and avoid Clear() whenever possible because you never know exactly what they do. Best way when you finish with a report is delete MyReport. You do have to rebuild your report with a MyReport = new but you definitely ha…
  • A couple of ways you can do it. Filter your dataset where Field3 <> Field5 is probably the easiest. OOP Programing 101 is whenever possible I don't like to filter my reports with a 3rd party tool because if you migrate from one tool to ano…
  • You probably can't. # of pages is populated on the 2nd pass and at this point the header/footers have already been calculated. Wayne
  • Do you have frxReport.EngineOptions.DoublePass set to true? Wayne
  • Don't know of a way to cut a section from your report but you could always filter your data set and re-run your report. Wayne
  • I wouldn't mind seeing a somewhat detailed example how to create an report during run time without the designer. I need to place a wrapper around Fast Reports so that I can generate a more detailed generic master/detail data based on a SQL I genera…
  • Nevermind. TfrxPreview is not meant to be a standalone component but must be attached to a TfrxReport. Sorry I'm new to FastReports but I'm liking this tool far better than Quick Report, Rave or Crystal .
    in TfrxPreview Comment by Quietman May 2006