digitalmetaphors
Comments
-
If the code is in Delphi, and since the pipelines aren't visible to the form
(like they used to be) then the way to get at the fields are by extracting
the SQL object. However, the dataviews are visible in RAP, and they can be
referen… -
You'll need to extract the SQL object via code. There is a tech tip in the
DADE thread which describes how to access this object.
Cheers,
Jim Bennett
Digital Metaphors
-
The form used to own the dataviews in 5.56. Now, the datamodule (DADE) owns
the datapiplines. You can't access the pipelines in the form unit like you
used to be able to do, since the form doesn't own the pipelines anymore.
You'll w… -
Use a subreport in the detail band. Set to to be a fixed style subreport
and resize its height to be the height of the space that you have for the
detail bands to print within on the form. (Right click over the subreport
to set it t… -
I can't reproduce this behavior. I tried both at Delphi design time and at
runtime on Delphi5 (RB 5.56 and RB 6.01) and D6 (RB 6.01). This was on a
Win 2K machine. Did you receive any AV's prior to this? If you close your
Delphi se… -
Use a TppVariable in the detail band. In its OnCalc event, perform the
calculation. Then put a TppVariable in the footer band. In the OnCalc of the
detail variable, after the calculation, you can sum the value using the
footer variabl… -
Yep, Undo and component locking would be some cool features. There was a
pretty good feature request thread a couple of weeks ago with quite a few
good ideas, mostly on improving the designer's capabilities. We have had
undo and com… -
You're probably using a left to right column traversal, and which this
configuration currently does not support dynamic height detail bands. You
should be able to put a subreport in the detail band and then define the
columns in the s… -
What output device is this on? Is it only in the preview or does it print
the same way as well? We need to be able to reproduce this in order to fix
the problem. Are you using a master detail relationship? What happens if
you hook… -
I would just resize the text control statically with autosize = false. This
way it can accomodate the larger font if it is set.
You may have not thought about this, but here is an auto-font-sizing demo,
where all of the text pr… -
I removed your message with the attachment and fowarded it to support@ so we
can look at it.
Cheers,
Jim Bennett
Digital Metaphors
---
Jim,
Thanks for the idea, but it doesn't se… -
You can access the printer canvas to get the height of the text in order to
get autoheight in the BeforePrint event of the detailband.
liTextHeight := ppReport1.Printer.Canvas.TextHeight(lsText);
Cheers,
J… -
There are two handy boolean properties Report.FirstPass and
Report.SecondPass if you want to skip some code in event handlers for a
given pass.
Cheers,
Jim Bennett
Digital Metaphors
-
RB's Cancel will stop the current page from being generated. Once a page
has been sent to the printer spool, it will print. Use the OnEndPage event
of the report. This event is triggered when the current page is about to be
sent to… -
From the tech-tips newsgroup:
------------------------------------------
Tech Tip: Detecting whether Report was
Printed to the Printer
------------------------------------------
The Report.AfterPrint … -
Try using the OnGetText event instead of the OnCalc.
Cheers,
Jim Bennett
Digital Metaphors
-
It is a public property of the PrinterSetup object, so you're not going to
see it in the OI. This property is declared in our current version. Sounds
like you are running off older RB pas or dcu files. Check you library path
to see … -
RBuilder/Lib should contain dcus. Somehow the ppProd.dcu doesn't exist in
that directory, and it can't find the pas file to create the dcu. The
ppProd.pas file should be located in RBuilder/Source. We haven't had any
reports of prob… -
Use the Headerband.BeforePrint event.
procedure TForm1.ppHeaderBand1BeforePrint(Sender: TObject);
begin
ppLine1.ParentWidth := True;
end;
Cheers,
Jim Bennett
Digital Metaphors
<… -
We don't natively support spreadsheet style printing, where the virtual page
width is endless. The crosstab component is able to generate over multiple
pages in this manner, however, I don't think the crosstab is what you're
looking … -
I can open a 5.56 template in 6.01 with no problems. Check the
Report.Tempate.Format setting on the report component. Perhaps it doesn't
like loading a binary template when the setting is ascii.
Cheers,
Jim BennettThey fire for me. If you are loading a template, be sure to rehook your
Delphi event handlers. There is a tech-tip in the templates thread which
describes this scenario.
Cheers,
Jim Bennett
Digital Metaph…This was released in RB 5.5. If you have RB 5.0 it won't work. The topic
may have been put into the help before it was implemented. The upgrade is
free from RB 5 to RB 6. Contact info@digital-metaphors.com with your full
registrat…There's nothing like this in the previewer right now. However, you can hook
into the OnDrawCommandClick event handler for a component. For example, you
could do this to a dbText component to get at the text draw command which is
cre…OnNoData fires for my report. If you are using loading a template, you will
need to make sure that the event handler is assigned. See the tech-tips
newsgroup under the Templates thread for more information.
Cheers,
…I think you should use ndBlankReport instead of ndBlankPage
ndBlankPage
The default behavior. No page is generated or sent to the devices. As a
result, the standard Print Preview form will display a single blank page,
and s…There are some template events you can use. Have a look at the tech-tips
newsgroup for an article on using template events.
Cheers,
Jim Bennett
Digital Metaphors
1. Thanks for the suggestion. The report tree can save the day.
2. There's no visual linking the group header/footer band to the group.
Your right, you can't get from the group object selected in the OI to the
group band in t…-------------------------------------------
Article: Minimize Size of Application .EXE
-------------------------------------------
How can I minimize the size of my application
executable (.exe) when using ReportBuilder?
You'll need to rename the conflicting components in the subreports and also
their respective event handlers.
Cheers,
Jim Bennett
Digital Metaphors