nardmoseley
Comments
-
The custom parameters demo shows how to do this. Run the Server and WebTier
described below. (The demo also shows how to define custom session and
report level params in addition to the custom autosearch form).
---------… -
Each client is assigned a SessionID. Sessions time out automatically - due
to inactivity. The TrsServer.TimeOut property specifies the time, in
seconds, that a session can remain open on the server without receiving a
client … -
Great, just checking
- the only time I have encountered Out Of Memory is
doing some testing that used the BDE.
Run the reports using a tool that can check for memory/resource leaks.
Make sure you are not using the BDE. The BDE architecture is old and was
never designed to run in a multi-threaded/ server environment. Each session
…
Great to hear that it is working - that enhancement will be included in the
RB Server code base going forward!
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I emailed you a enhancement patch for RB 10.07 that enables the Template
field to be of type String and contain a file name.
I am not sure about UNC file names - I am hoping that is handed by the VCL
or Windows functions…
The WebTier is designed to assign a SessionID for managing each client. A
client session can consist of previewing many reports. The WebTier is
optimized to handle common scenarios, such as a user previews report A, then
repo…
When AutoSearch ShowAllValues is True, then Where condition is generated.
Therefore, if all autosearch parameters have ShowAllValues set to True, then
no SQL Where clause would be generated.
--
Nard Moseley
That tells the WebTier to ask the server to regenerate the report, rather
than use any cached pages. The WebTier can cache pages for performance.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Yes, SearchExpression is a string. I can think of no reason why string and
date work and integer does not. I was thinking that date might be given you
an issue (because of formats).
--
Nard Moseley
Digital Met…
What are the datatypes of the autosearch parameters?
If you trace your custom code, what are the values that get assigned?
Perhaps, try an incremental approach. Start with one AutoSearchParameter and
test. Then add …
HTTPS is controlled by the web server software and the certificate you have
installed.
I am not aware of any way to suppress those type of errors other than to
update your certificate. You could try Googling about it.
Oops, yes that is what I meant.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
The WebTier.CacheDirectory property does contain support for using the
($Application) notation.
I will add that to the feature request list.
--
Nard Moseley
Digital Metaphors
www.digital…
One option is to use the Report.OnSaveText to implement a custom delimiter.
For an example, run RBuilder\Demos\Reports and check out demo 105
(dm0105.pas). The example implements a '/' delimiter.
Another approach would b…
Perhaps you can put the description information in the report's title band
and then generate the information to the xls file.
Currently there is no way to customize the export file name.
--
Nard Moseley<…
As a starting point, try using the WebDebugger app installed to
RBServer\Demos\WebTier. Get that working. Then add in the custom code and
test at each step.
Without a default action firing nothing would ever happen - unl…
Below is an example I created. When a reqest is made for 'xls', it checks
whether the server contains a special version of the report called
ReportNameXLS.
uses
rsWebRequest,
rsConnection,
rsCl…
Simplest solution would be to add some code to the WebModule action handler
to check the TrsWebRequest.ContentType. When the ContentType is XLS, then
request a different version of the report, one that has an XLS suffix. The
…
That code registers the report server in a persistent manner. Try the code
and then reboot. RBServices will still know what it is.
My intent was to provide a simple example, so yeah I hardcoded the .exe
name.
…
Try the following...
uses
rsWinServiceController;
begin
lsServerExe := 'c:\myReportServer.exe';
TrsWinServiceController.RegisterCOMServer(lsServerExe);
end;
The report server sends Page objects to the WebTier. The WebTier translated
the Page objects to content such as XHTML/Javacript for the web viewer, or a
PDF or Excel file.
report server --> Page --> WebTier --> …
This example is for PDF, same would work for XLS
uses
rsWebRequest,
rsWebSessionManager,
rsWebSession,
rsWebCacheReportFile;
procedure TWebModule1.WebModule1WebActionItem1Action(Sen…
RB does not include its own web server. Instead it enables you to build a
web app that incorprates the RB WebTier to process reporting request.
With RB Server Edition you build a report server that typically runs as a
Wi…
See my answer to your prior post.
We do not have any examples that use PHP. Do you know whether PHP can call a
COM object? Or a .DLL perhaps? I tried Google but was not able to find
anything conclusive one way or the oth…
Rarely happens, but it is possible that when we fix a bug, an old report
that was exploiting the bug will behave differently.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
That code is not correct. In Delphi it will not compile. In RAP, it compiles
but produces a run-time error. I recommend consulting the Delphi help topic
for the 'is' operator so that you have an understanding of what it is u…Please try to create a test case that we can run here. This is not a known
issue.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Perhaps you did not rebuild the report server using the patch.
A report should work the same, whether it runs on the server or in a
standard windows application. RB Server is built on top of RB Enterprise,
there is only …