nardmoseley
Comments
-
You are encountering a timing issue. Most of the events in RAP occur after
the report engine has already open the datapipelines and initialized them.
The only events that occur prior to initializing the data are the AutoSearch
r… -
The CreateAutoSearchCriteria method will not work for this case.
An alternative is to extract the TdaSQL object from the DataView and add the
search criteria directly to the TdaSQL. Below are a couple of examples. The
exam… -
Are you using the same TppReport component to load/save to database and
import/export from file?
Does the error occur with every report, some reports, or only one specific
report?
--
Nard Mosel… -
You need to create a RAP pass-through function that can be registered with
the Code Toolbox. Please see the following article...
--------------------------------------------------
Article: Extending RAP
-------------… -
There is no way to call a RAP function from Delphi code. Perhaps when you
write the RAP pass-thru function, it can call a custom Delphi function. That
way both Delph code and RAP code can call the function. In your example, you
… -
1. If you edit a report template, select File | Save to make sure that the
template is saved.
2. Try downloading a trial version of the latest release and perform the
same test. I recall there was an issue in prior release… -
Have not heard of this before. Make sure that exact same .exe is installed
on each machine. I would try updating the video and printer drivers on the
problematic machines. You could also try re-installing the BDE on those
machin… -
1. Are you compiling an application on a developement machine and then
deploying it to the other 2 machines? If so, are you compiling the
application into a stand alone .exe or compiling with runtime packages?
2. Are you l… -
With ReportBuilder 7.03, the DADE Query Designer enables a search condition
to contain a subselect. Acess the Search tab of the Query Designer, add the
Person_ID field, choose the Not in List operator, and then for the search
Va… -
There is a thread in the subreports newsgroup started by another customer,
Charlie Rhoades, dated June 3, 2004. He had an issue with the code from that
demo. At the end of the thread, he posts a modification that fixed the
probl… -
What event are you using to load the subreports? I do not recommend that you
dynamically load subreports while the report is generating.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-meta… -
Here is an example that you can download....
www.digital-metaphors.com/tips/CreateGlobalVar.zip
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
-
------------------------------------------------------
Article: TroubleShooting: Report Prints Endless Pages
------------------------------------------------------
1. Check each report/childreport and make sure that the Report.D… -
Rather than setting the report properties, you need to set the
Report.PrintDialog properties.
Delphi code example:
ppReport1.PrintDialog.AllowPrintToFile := True;
ppReport1.PrintDialog.TextFileNa… -
1. There is no way to do this unless in your Delphi code you somehow have
setup a global object reference to the TppReport object. Only thing I can
think of is that in the app start up code, prior to showing the report
explorer,… -
I recommend an incrmental approach.
1. Code a solution using Delphi code.
2. Create a RAP pass-thru function to perform the tasks in 1 above. Call the
RAP pass-thru function from the RAP event-handler. (See article b… -
It is not known whether a given Page is the last page until after the report
engine generates the page and sends it to the report's publisher (which in
turn sends the page to the device).
There is an Engine.AfterSendPage e… -
You do not know whether the band is the last one on the page until the page
is completed. You could perhaps use the DetailBand.AfterPrint to store
information about the latest detail band that has printed on the page and
then in… -
Perhaps the Region's OnDrawCommandCreate event. You could typecast the
aDrawCommand parameter as TppDrawCommand and check its top property.
--
Thanks for supporting ReportBuilder! Please vote for ReportBuilder… -
How about manually loading a Memo? You could add blank lines for the gaps
between labels. Set the Memo to stretch and use the DetailBand.BeforePrint
to load the memo with lines of data. Using this approach a single memo would
pr… -
1. The RAP newsgroup is appropriate for questions related to implementing
report code that resides in the Report Designer's Calc Workspace. (This is
contrast to writing report event-handlers using Delphi code). A brief
explainat… -
Great, I was going to point you towards those demos.
The Global OnCreate/OnDestroy events fire slightly differently when a report
is previewed from the Designer's Preview tab versus when a report is printed
to the Preview … -
Try using TppVariable components to accumulate totals. Variable components
contain the ability to save/restore their intermediate results as of the
end/begin of each page. The Variable OnCalc event is designed to be a good
place… -
Can you provide a simple example project that we can run here in the
debugger. Use standard Delphi components, send in zip format to
support@digital-metaphors.com.
To compile BuildEnt.dpr you need to use the 'Build with ru… -
Try something like this:
uses
ppReport, ppASField;
var
lAutoSearchField: TppAutoSearchField;
begin
lAutoSearchField := ppReport1.AutoSearchFields[0];
if (lAutoSearchF… -
For future reference, I think you posted to the wrong newsgroup. This
newsgroup is focused on questions about RAP, the run-time Pascal environment
available from the Report Designer's Calc workspace.
You need to set the Da… -
The download file that we provided fixes this issue completely.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
-
1. I researched this. The event is firing correctly. However there is
problem with setting the DrawCommand.RedrawPage property - it compiles but
does not execute correctly. The RAP RTTI DrawCommand class is descending
from an in… -
Try it, I think that will work....
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
-
Have not heard of this issue before. Please either create a simple example
and send in zip format or specify exact steps to recreate the issue. Send to
support@digital-metaphors.com.
In ReportBuilder call of the components…