nardmoseley
Comments
-
Please follow newsgroup rules. There are enumerated here
http://www.digital-metaphors.com/support/newsgroups.html
1. Post using your full na… -
This issue is being researched. For now, as a work around, try using a local
variable to call the pass-thru functions.
Example:
var
lDrawCommand: TObject;
begin
lDrawCommand := aDrawCommand;
Dr… -
There are no known issues with GlobalOnCreate. I tried a simple test here by
creating a new report and implementing the event as follows
ShowMessage('globalOnCreate');
When I Preview, the message appears.
Try using Report.OnInitializeParameters. It is designed to fire a single
time.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
The following is from the help topic for TrsClientReport...
(This is just one small fragment of the help topic.)
---------------------
Custom ReportParameters can be received and sent to the server using the
Try using the Report.OnFileDeviceCreate event.
Example:
begin
if (Report.FileDevice is TppPDFDevice) then
ShowMessage('PDF');
{ or this }
ShowMessage(Report.FileDevice.ClassName);…Please provide steps to reproduce or perhaps create a simple example and
email to support@ in zip format. I tried the following simple test and did
not encounter any issue.
var
lStringList: TStringList;
begin
…There is now a patch available for RB 12.05 that resolves this issue.
Registered users can email support@ and request the patch. (As you
suggested, I modified the code to call the overloaded version of
TStrings.SaveToFile and that …Chris,
You and I have discussed this issue via support@ email. In debugging the
code, TStringList.SaveToFile is being called from RAP. In my testing with
Delphi 2010, the code works, but in XE an exception occurs in SysUtils.p…In RAP the identifiers such as Report Title, Header, Detail etc are used to
refer to elements of the report layout. You might want to either use a
prefix, such as 'pl' - plDetail or use a suffix such as 'Data' -
DetailData.
<…This was a known issue with RB 12.05 and the Unicode VCL, there is a patch
available. Please send an email to support@ and request the patch.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Open ppNoDataDlg.pas and modify TppNoDataDialog so that it has a published
property for the memo.
You can either do something like this...
published
property memoMessage: TMemo read memMessage;
Or you ca…There is a patch available for RB 14.05 that resolves this issue. I emailed
it to you.
Registered users of RB 14.05 can email support@ and request the patch.
-
Nard Moseley
Digital Metaphors
www.digit…
You could try writing some code to load the report, iterate over the
Report.Bands[ ].Objects[ ] and then find Variables with dtString and modify
them.
The change was made to fix bugs reported by customers using Variable …Make sure Variable.DataType is set to a numeric type - something other than
dtString. When set to dtString the OnCalc fires more often because string
values are not cached by the Variable.
-
Nard Moseley
Digital Meta…Goran,
Create a Group on ID. Set group NewPage and ResetPageNo to True. Use a
SystemVariable with VarType set to vtPageSetDesc
This is a vary common requirement. It is covered in the Developers Guide,
demos, tutoria…Hi Tom,
Thanks for the feedback. I'll add 'Make it easier to draw a line after last
detail' to the list of requested features.
One way to implement a fixed size box on each page is to use a page layer to
draw the bo…
Here are a couple of rbWiki examples that track the detail print position
to determine the last detail. They are both Delphi code examples, to adapt
to RAP you probably need to add a custom pass thru function to get the print
Ok... 'dragging selected text within code editor'
Surprisingly, no one has ever tried that. The code that AV's has been in
place for years - it assumes that any drag operation originates from the
code toolbox. I created …Hi Tom,
Please provide specific steps to recreate the issue. I tested the Calc
Dialog drag-and-drop with RB 16 and 15.05, but did not encounter any issue.
I used the Demos\EndUser\Report Explorer project, configured to include…Hi Walter,
In the future, please send attachments to support@ rather than post here.
Please create a simple example that I can build and run in the Delphi
debugger. Please use standard Delphi components and RB. Copy data…Hi Stephen,
You can extend RAP with custom functions. Below is an rbWiki link. You could
try implementing a function that receives the DataPipeline as a parameter,
along with the term name and returns the dates. For example, <…Hi Gunter,
I researched this and created a patch for RB 16.02. For the screen preview,
the RAP AfterPrint usually fires when the preview form is closed or when
leaving the Designer Preview page. However, there is also a requir…Hi Steve,
In older RB versions, RAP supported only some of the color constants. A
requested enhancement was made to internally call Delphi's IdentToColor
function which is supposed to support all color constants. But looking a…Hi Ken,
For XlsReport all elements are exported.
For XlsData the default behavior is main report detail elements are
exported. Use the File | Print To File Setup dialog to specify which bands
and component to export…Hi Ian,
One of the most powerful features of RAP is simple extensibility with custom
functions and RTTI.
http://www.digital-metap…Hi Tone,
RB Server Edition implements a multi-threaded report service and a webtier.
RB 17 Enterprise includes some REST Services and mobile Client components.
For building multi-threaded Delphi applications the reco…Hi Tone,
1. The DataPipeline, Report etc need to be Owned by the Form/DataModule.
myDataPipeline := TppDBPipeline.Create(Self);
myReport := TppReport.Create(Self);
etc...
2. If you are using RB …Hi Steve,
Below is a modified version of the code that works in my testing.
Tips:
1. To add a Field assign Field.DataPipeline. This will establish the proper
parent/child relationship. (This pattern is used thr…Hi Richard,
There is a patch for RB 17.02 for Delphi 10.1 Berlin that resolves the RAP
TStringList issue. This issue is isolated to Delphi 10.1 Berlin, due to
changes with TStringList implementation.
I just tried to…