digitalmetaphors
Comments
-
See the subreports NG for followup.
Cheers,
Jim Bennett
Digital Metaphors
-
What size should the report be generated to? If it is always intended by the
end user to generate to a 11x17, then set that at the paper size in the
Report.PrinterSetup before the Report.Print call in code and it should use
that size … -
Make sure Report.SaveAsTemplate is false. Are you using RAP? Does this
happen on other reports? Can you reproduce it on a new form or datamodule?
Is it always reproducable? Please provide us with an example that we can
reproduce the e… -
It is coded in the crosstab renderer. This class is replaceable. See
ppCTRend.pas at the bottom for the registraion call to replace the default
renderer class. Basically copy ppCTRend and rename the class
TmyCrossTabRenderer and make … -
You can build a dll that you can call to print reports. You'll have to use
Delphi to create the report dll though. Get the reports working in a
standard Delphi app so it is easy to debug and test. Then port the reports
to be used in a… -
The printer driver is used by RB only for calculating the pagination. I was
thinking maybe a font would get installed by the latest printer to add
better support for the charset you are trying to use. The actual drawing of
the text is… -
Can you preview the data using a simple Delphi app (without RB involved) on
the problematic machines? Perhaps the font for that character is not
installed for the printer or screen? Can you see it in an app like MS Word
on those machi… -
Try setting Report.PrinterSetup.DelegateCopies to true at runtime. There
isn't anythign built in to support copies where it doesn't start on a new
page if the pritner is wanting to do this. You mentioned you got a response
about addin… -
Are you using RB 7.02 for this report? What value do you get if you use
TppVariable to calculate the runnign sum for each group? The variable allows
you to set the timing so that it will reset when a group starts. What may be
happenin… -
Can you reproduce this problem using our text pipeline demo in the main
reports demo project? See demos #131-135, 138
Cheers,
Jim Bennett
Digital Metaphors
-
Here is an example:
http://www.digital-metaphors.com/tips/DynamicReportCreation.zip
--
Cheers,
Jim Bennett
Digital Meta… -
Sorry for the delay, I'll In the subreports, are they section subreports?
Are they set to use ParentPrinterSetup? Is the main Report.SaveAsTemplate
set to true? It may be that you are saving and loading from a template file,
even thou… -
Hi Yannis,
Instead of a client dataset, you can implement any custom datta traversal on
any kind of data by using a JITPipeline. The JITPipeline has as the events
so that you can traverse your data tree using the methods that RB… -
Yes, RB regenerates each page if you don't set Report.CachePage to true.
Setting this to true is one option that should fix the problem.
The group footer should print when the group changes a group break value. Is
this not happe… -
The pagestyle prints behind the other bands. It still generates draw
commands to the same page object that the other bands generate draw commands
for. In the report layout, each page can only have one printer setup. There
is an unprin… -
If the label should be dynamic height, then use a TppMemo. The static label
was what made the demo more complicated. The memo can stretch while the
label can't. Then you'll get a dynamically resized draw text command and it
should act… -
There is no "anchor" feature in RB that would do this. At design time, you
would use the Align toolbar. At runtime, you'll have to let the labels
generate. Then after they create a draw command to draw on the page, you can
reposition … -
There are no demos using this event. What code are you using? The demo which
basically does this is the main reports demo #29. The key is to pull the
data from teh dataset directly and then assign the RichText proeprty of the
dbRichTe… -
Check out the main reports demo #29 for an example of modifying the rich
text using the proper methods and properties. The demo uses a TppRichText
and always assigns it manually from the database. If you want to use the
TppDBRichText… -
Did you make your data access threadsafe? Printing in the background
actually clones your form and then runs the cloned report in a background
thread. Do you have code on the form that would break this assumption when
trying to run th… -
Try sending an email to support@pragnaan.com in case the Pragnaan guys
don't see the post here.
Cheers,
Jim Bennett
Digital Metaphors
-
It wasn't as hard as you may think. All you have to do is update the page
that is sitting on the current screen device and then update the repor
tobject so that when the next page is requested, it will be in the right
color automatial… -
I modified the custom preview form tutorial to call Viewer.Print and it
works fine in tests here. Can you send an example to
support@digital-metaphors.com that shows the problem? Do you have any other
code that would be causing an inf… -
When the SQL is generated behind the scenes it will require the parentheses
in order to have the OR condition be applicable because everything else is
implicitly AND'ed together. Can you reproduce a scenario in DBDemos that
shows the … -
Regardless if we release a new version, any version of RB should be able to
support DBISAM 4.0 when it comes out. RB relies on the TDataset interface in
which the way we talk to DBISAM looks like this:
TDataset -> TDatasource… -
The form has a canvas property. I haven't tried it but you could perform a
Canvas.CopyRect method call to copy the client area of the form. Is this
what you mean? Then you can copy to the canvas of the freeware PaintBox
control listed… -
It should be up now.
Cheers,
Jim Bennett
Digital Metaphors
-
Hi Mark,
If the report is reset (page cache cleared), the devices are reset, and the
engine is reset and the layout changes, then the next time
Report.PrintToDevices is called it should generate and calculate the correct
pa… -
Hi Mark,
RegenerateReport is not going to cut it. It simply resets the device and
publisher and starts making more page requests. The engine is not reset and
the PrintToDevice call on the producer (report) is not called. Here is… -
Hi Charles,
If you are using RB 7, you can set the new Report.PreviewFormSettings
property rather than having to code an event handler for the
OnPreviewFormCreate event.
Cheers,
Jim Bennett
Digit…