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

rbuser

About

Username
rbuser
Joined
Visits
1
Last Active
Roles
Member

Comments

  • Thank you very much Nard, I have change my pass-through function following
    your advice and now all works fine.

    Thanks.

    Massimo


  • Thanks for the answer Nard.

    I have done some checks on SkipWhenNoRecords property and this is correctly
    set to false.

    After this, i I'm not able to set the noDataBehaviors in delphi code,
    becaouse my reports are stor…
  • Nard Moseley (Digital Metaphors) wrote:

    Why in My Report builder is not declared Bold property?
    I've tried to set may TppDBText(Sender).Font.Bold on 'OnPrint Event
    handler, but it doesn't known...
  • Sorry previous post incomplete

    I want to be able to tell every field on my report to be bold, underlined,
    italic or specify a specific font and size.


    DBText1.Font.Bold := (DocumentDetail['DocumentLineFontB'] = 1);
  • Yep, that was it. I can't believe I didn't catch that.

    Thanks

  • Hi Nard,

    I have modified the example to do the following (in the LoadEndEvent area):

    for i := 1 to selcount do begin
    liIndex := lFields.IndexOf(selfield[i]);
    if (liIndex <> -1) then begin
  • Hi Nard,

    I'm not sure, at runtime I simply load a pre-defined report (stord in
    rbItems), and pass what I need to it, and then execute ie the end-user
    facility.

    Alex

  • Hi Nard,

    I can't use the query designer, as I have a UI that raps around and it is
    from here where the user chooses whether to view items that are True or
    False. So I need to somehow pass the value over to the pre-defined repor…
  • > Is there a way to embed a font in the PDF export through RAP. We get all
    used
    programmer
    dont
    would

    First you need to contact the PDF export tool vendor you use and ask them if
    it can be done with their expo…
  • Thanks for the quick response. Not the response expected unfortunately. I
    have been using this service for quite a while, never had any issue. We are
    a development company that also integrate a software from a very "delphi
    oriented…
  • Joseph,
    Thanks! I am going to try to get your approach to work. I'll let you know
    how it goes.
    Thanks again,
    Les


  • Hi,

    I don't know if this helps, but I made a little procedure so that
    a user could view/print the source code. I then added it to the
    designers menu bar. I have modified it here to build a string
    (CodeText) instead of pri…
  • Nard,

    Well, I think that I am dead in the water until I get further direction.
    But, Chris is bound to turn up somewhere

    someday. Keep this problem in mind and let me know when you might figure
    something out, find some…
  • Nard,

    I looked for mention of "RAP2Text" and didn't find anything useful.
    Also I couldn't find a good email address for Chris Ueberall, so I couldn't
    ask
    him for a copy of "RAP2Text" directly.

    My previous typing…
  • Hi it's me again,

    sorry, i haven't explained my problem too well.
    The probleem is we're building reports at runtime, not at designtime.
    So we're only coding stuff when we consiter it as a last resort.
    As you understand i ha…
  • Sorry, found the problem.

    As there existed alreay a 'hardcoded' but unused (in server) report on the
    datamodule with the parameters with this name the 'running' report its
    parameters got other names. So i couldn't find the param…
  • Part 18

    No just joking, but i'm trying to get some special stuff done and its
    getting very close to a solution.
    My problem was that i wanted to use the autosearch & dade & a regular
    ADOquery in 1 report.
    Got th…
  • What i did, i've placed a ppReport in the datamodule in my server, and from
    my form-based/develop/report application i'm using this datamodule too.
    I know that in earlier versions of RB it warned not to place a report on a
    datamodule.…
  • On item B

    Are there any techniques that make it easy to develop the report with
    'hard-code' and run it on a server without copying the code.
    I'm thinking the way you run the webtier as a dll and a exe.

    Beacause i'm af…
  • Nard,

    I've rechecked my mail and i've seen that i posted a source-code-version
    without the EditSQLAsText set. I had tried it but with or without, still
    crashing. As this seems again to become a case that i will have to provide a…
  • Nard, i've modified the code, but i'm getting a crash in rbdad77.
    My idea was the following, the report runs with the existing dade sets. But
    the ordering doesn't work.
    So, i just modify the sql, to a resultset with the same fieldname…
  • I"ve been send to this thread as i had a similar question.
    No problem on the possible solution but how do i test this, my case is
    slightly different, and i can't develop my report from the designer, as the
    autosearch dialogs do not ge…
  • Thanks Nard,

    that seems to be the way to go !!!

    Cheers,
    Dmitry


  • Thanks Nard,

    Number one solved.

    Regarding the answer number 2.

    From what you said, it's not possible to create autosearch fields in RAP, is
    it ? Or even if they created in RAP code, it's too late as those criter…
  • "Nard Moseley (Digital Metaphors)" wrote in
  • For some reason it doesn't work this way.

    I always have empty gSQLString ...
    Try to simple test:
    1.Create Global variable gSQLString
    2. onReportBeforeAutoSearchDialogCreate(or on ReportOnGetAutoSearchValues)
    put code l…
  • Nard,

    Thanks for your reply. I found quite interesting thing.
    Say, I have manually edited SQL like:

    Select * from MyTable
    Where InvoiceDate between :SDate and :EDate

    When I load MagicSQL text for the first …
  • Some new info. It doesn't work if I click on search button while in Report
    Designer. If I save report and go back to Report Explorer and then View
    report from Report Explorer it works fine.

  • Just wanted to add, this is for manually edited SQL.

    Cheers,
    Dmitry


  • Figured so.

    Thanks anyhow.