digitalmetaphors
Comments
-
The label skipping approach works in a top to bottom traversal setting. The
report engine was designed to work in a top to bottom traversal direction,
it was never intended to print from left to right.
However, it should be pos… -
I've sent you another example which does this.
Cheers,
Jim Bennett
Digital Metaphors
-
I emailed you a simple report project created in RB 6.01, which bolds the
first record of a group.
Cheers,
Jim Bennett
Digital Metaphors
-
You could create a group and use the Group.AfterGroupBreak event to detect
when a new group is going to start.
Cheers,
Jim Bennett
Digital Metaphors
-
Since your data is ordered by Zip, and you don't have a group in the report,
you could use a TppVariable to cache the previous Zip to determine if the
current Zip is different. Place a TppVariable in the detail band and set it
to vis… -
Close the form down and then reopen it. The new field should show up in the
list if Pipeline.AutoCreateFields is true.
Cheers,
Jim Bennett
Digital Metaphors
-
You would have to create a TppVariable and code its OnCalc event handler to
perform that calculation. The default data type of the variable is string.
In RAP you could declare a global integer variable to track the count (the
BandsPe… -
You might want to try using the DetailBand.BeforePrint event to dynamically
set the DetailBand.BandsPerRecord property.
Cheers,
Jim Bennett
Digital Metaphors
-
How complex are the calculations? Are pipelines ever set to nil on
subreports? Is this only on one report and one printer, or any and all?
Cheers,
Jim Bennett
Digital Metaphors
-
Check the printer driver's unprintable area. Perhaps this is larger than the
margins you are trying to use in the report.
Have you changed this inventory report from your previous version that the
client was using? If a static… -
Calling Report.Reset should dump the cached pages and page count.
When the report generates to the last page, is the only time the report
knows how many pages it has. This is done usually by setting the
Report.PassSetting to ps… -
After a report template is loaded, are you reassigning the event handlers?
Perhaps the report's events are getting linked to event handlers in a
different form unit where the report component is nil?
Cheers,
Ji… -
Exactly how are you referencing the report? It looks like you have a TForm
descendent which has a report on it and a report property? What if you
reference the report by name? The form should own the report and you should
be able t… -
Sorry, RB doesn't have native image rotation.
Cheers,
Jim Bennett
Digital Metaphors
-
1. Not currently, but it's on the todo list.
2. If you load a template and modify it, then you'll need to save it down
as an rtm in order to save the changes- is this what you mean? You could
try to modify a template programaticall… -
Create a pass through function. There are examples of this in the Demos
directory in your installation of RBuilder.
Cheers,
Jim Bennett
Digital Metaphors
-
It has been fixed for the next maintenance release. Thanks for the demo.
Cheers,
Jim Bennett
Digital Metaphors
-
I do get the error with one detail record in the dataset with your example.
I sent the previous post before I received your project yesterday and was
able to run it. Thanks for the example which clarified exactly what I
needed to see… -
I set my master query to fetch one record. It previewed correctly with all
of its detail records. Then I modified the detail query to return only one
record. The report printed fine both in one and two pass settings. I'm
sending y… -
Setting both RangeBegin and RangeEnd to LastRecord isn't currently supported
when using data pipeline linking.
Cheers,
Jim Bennett
Digital Metaphors
-
I have these settings on the master pipeline:
RangeBegin = rbLastRecord
RangeEnd = reCount
RangeEndCount = 1
Download RB 6.01. Contact info@digital-metaphors.com with your full
registration information and you'l… -
I ran a linked query example, and set the master datapipeline to traverse
the last record (DataPipe.RangeBegin = rbLastRecord), and it printed the
last master record and the detail records. The report was TwoPass and I was
running th… -
Yes, there must be something that we are changing in the report definition
when switching to the subreport such that Delphi thinks it is a change.
We'll have to research this and put it on the ToFix list. Thanks for
reporting the iss… -
It is possible to replace the datamodule in the report. You can save the
dtm in the database, just like an rtm. From the report explorer, a user can
create a new report, then go into DADE for that report, and import a dtm so
the que… -
Correct, the report component on the form, when it is saved, will stream
down the objects that are in the report into the dfm. The form owns the
report, and the report owns the components.
You don't have to use datapipeline com… -
The TppDBImage component supports Bitmap, JPEG, windows metafile, and icon
types out of the box.
You can set the GraphicType property of the DBImage in the
DetailBand.BeforePrint event if you have different types of images store… -
After you load a template into a report, you can assign the event handler
for the OnPreviewFormClose and OnPreviewFormCreate events:
myReport.Template.LoadFromFile;
myReport.OnPreviewFormCreate := MyPreviewCreate;
myReport.… -
There is the OnPreviewFormClose and OnPreviewFormCreate events of the Report
component.
You should be able to access the form like this:
procedure TForm1.ppReport1PreviewFormClose(Sender: TObject);
begin
… -
RB 6 supports D4, D5, and D6. RB 5 only will work in D4 and D5. Send your
full registration information to info@digital-metaphors.com to receive a
download link to the Delphi 6 version. I believe it is still a free upgrade
from RB … -
There is a titleband of the subreport you can resize to zero height and use
its BeforePrint event. That should fire once at the start of each
subreport.
Cheers,
Jim Bennett
Digital Metaphors