Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

Compatibility issues (RB EUR-->RS EUR)...

edited February 2004 in Server
Hi!

We have succesfully used RB for EUR stored in database. ReportServer is
normal evolution of our thinking. In one of previous post I have asked if
"up and running" EUR (stored in database) can be easilly trtansform on
ReportServer (Webtier with ISAPI). Now we have some questions:

1) Some of our reports (directories) has in name national characters
(?,?,?...). They are not corectly displayed in IE

2) In our application we have several events (OnStartFirstPass,
OnAutoSearchDialogClose, OnPreviewFormCreate, OnPrintDialogCreate) saved in
each definition of report template. Definition of those events are are
codded directly in .exe. In that way all initialization part was on one
place and was handled automatically for every new report (which is made as
second copy of 2 "master template reports"). Now it seems that no events
defined in Report can be stored in database definition of report. What to do
to make those report compatible. If that is RAP please is there any demo
that handle that subject.

3) In search dialog dates are in form mm/dd/yyyy regardles definition in MS
Access and Windows regional settings. Where to change that behaviour.

4) In our original RB EUR we have translated (with RBLang) many parts. Now
all is in English...Can that be changed?

5) Is there anything else that should be considered in translation RB
EUR--->RS EUR (ISAPI).

I was so free to send to your support some attachements with source code of
files that should be added as brief explanation of my problems...

Regards,

Beanjamin Vadas

Comments

  • edited February 2004

    1. I do not know why the international characters are not displayed properly
    in IE. Try performing a View | Source on the html page that displays the
    characters. For the report explorer there is a main frameset page, a left
    frame for the TreeView and a right frame for the ListView.

    2. The event-handlers need to publish methods of the Report.Owner. For the
    Server based reports, you need to implement the event-handlers as published
    methods of the DataModule that contains the ReportVolume component. There is
    an example of this in the RBServer Developers Guide tutorials.

    Note that AutoSearch works differently in the server environment. The server
    generates the report, but does not display any dialogs, the dialogs are
    generated by the ClientReport or by the WebTier.

    3. The WebTier's AutoSearch dialog is using the JavaScript Date.Parse
    function to validate the data.

    4. The WebTier application is not able to control the Report.Language
    setting. If you are using a single language, then run the ReportBuilder
    installation and choose the desired default language. This will install the
    appropriate .res files into RBuilder\Lib and they will be linked into the
    WebTier application when you compile. You can also copy the .res files to
    RBuilder\Lib manually from one of the RBuilder\Languages subfolders.

    5. There are some tutorials in the RBServer\Developers Guide that try to
    cover some of the common issues with converting reports to a server
    application.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2004
    1) It is easy to check (name one dir with some national characters and take
    a look (regarding right setting in IExplorer)
    2) "There is an example of this in the RBServer Developers Guide
    tutorials."-please can you name it?
    3) How to change that behaviour in Java script. As far as I can see java
    script is implemented in core part of RS control. Is there any hint?
    4) In install part there is no Custom (or in my case Croatian) language. How
    can I recompile those res file (like in RB). Is there any rc file to change
    (manually is also OK)?
    5) "There are some tutorials in the RBServer\Developers Guide that try
    to..." can you name it. I couldn't find anything like that.

    THX for quick response.

    Benjamin

  • edited February 2004

    1. Was hoping you could test this for me. Do you know what is the cause of
    the issue? We often rely upon international customers to help us with
    international issues. Sure I can test it, but I have US Windows and US
    Internet Explorer, so I was not sure if I get the same results. Would help
    if you could at least provide me with an example.

    2. Building a Report Server Application for Reports in Files. Starts on Page
    33. At the top right column of Page 34, there is a section that says "Move
    the Report Event-Handlers to the DataModule."

    3. I thought Date.Parse would handle international dates? Is the dialog
    rejecting the date entry? Send a request to support@digital-metaphors.com
    and we can send you the .pas unit that contains the javascript validation
    functions.

    4. Tranlsation. I though stated that in your EUR app, you were using a
    translation. Do you have a custom translation that you have created? If you
    take the .res files that you created for the custom translation and copy
    them to RBuilder\Lib then they will be included in the application as the
    default language. Note that you need to copy the .res files to RBuilder\Lib,
    not RBServer\Lib. The RB Server code uses the same resource strings. See
    your RBuilder\Lib for files names: rbPrint.res, rbIDE.res, rbDADE.res, and
    rbRAP.res.

    5. RBServer\Developers Guide. Tutorials are on pages 29-57. Work thru all of
    these - even if you think they are not applicable, chances are that you will
    learn something useful in each one.




    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2004
    1) Is sent to support address (because no attachements are here welcome!)
    all requested files.
    2) Will take a look-THX!
    3) No. Dialog need entry in format "mm/dd/yyyy" no matter on regional
    settings in windows! Then dates are accepted.
    4) I have reinstall once more again from scratch and now RS and RB has
    national characters...sorry it was my fault and looks OK. Sorry for
    bothering you!
    5) I have read and ....

    THX for your reply. I can tell one. I do not know how much eneregy you spent
    for support but I can tell you that your support is just fabolous!
    I have tried some other (much more paid support) and they are small kids
    comparring to you! Congratulations!!!!!

    Benjaimin

  • edited February 2004
    Hi!
    I have put your "rsWebJavaScriptSearchValidation.pas" file in directory
    where my ISAPI Web tier (copied from your demos) takes place.
    Recompile the demo and put some date in criteria. Unfortunatelly nothing.
    Date format dd.mm.yyyy (which is allaround the PC-I use the same PC for
    client and server side, so values are 100% OK) is not accepted again. The
    accepted format is dd/mm/yyyy. Is there any help to preserve Regional
    settings as they are expected?
    One more thing...
    When I put some date and after report is shown, when I start search again
    (from report with no data) shown date is totally unsinchronized with
    previously entered values! It looks that dates and months are swiched!
    Hope this will help you to improve RS as product.
    Regards,
    Benjamin

This discussion has been closed.