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

nicocizik

About

Username
nicocizik
Joined
Visits
2,424
Last Active
Roles
Administrator
Company Name
Digital Metaphors Corporation

Comments

  • Hi Louis,

    Take a look at the example below. It shows how to automatically modify RAP
    programs in code. Using this method, you could possibly automate the
    process of searching and updating your templates.

    in Font vs font.size for 10.04 Comment by nicocizik November 2006
  • Hi Louis,

    I tested again with RB 9.03 and the following code had no effect.

    procedure Label1OnPrint;
    begin
    Label1.Font := 30;
    end;


    --
    Regards,

    Nico Cizik
    Digital Metaphors…
  • Hi Louis,

    Which version of RB 9 were you using? In my quick testing with RB 7.04, and
    RB 9.03, I was unable to get the font size to change by directly setting the
    Font property equal to an integer. I checked the back dated b…
  • This is a multi-part message in MIME format.
  • This is a multi-part message in MIME format.
  • Hi Marcel,

    You will need to create a pass-thru function that checks the record count of
    your dataset before the report is generated. Examples of creating a RAP
    pass-thru function can be found in the RAP demo located in the
  • Hi Max,

    If you set the Group.KeepTogether property to False, all the groups will
    print immediately after the previous group is finished and not try to remain
    on their own page. This is also an option that can be set from with…
  • Hi Chris,

    Most of the published properties and routines in Delphi are available in
    RAP. You can see these either using the Code Toolbox in RAP or the RBuilder
    help file.

    --
    Regards,

    Nico Cizik
  • Hi Chris,

    What does your code look like? Are you certain you are setting the
    visibility of the DBText's or detail band back to True if the values are not
    the same? Which event are you placing this code?

    --
    R…
  • Hi Chris,

    If you place these DBTexts inside a dynamic height (detail) band, then the
    band should snap to a smaller size if the two DBTexts are not visible. Ed's
    suggestion is also a good one to set the visibility of the entir…
  • Hi Chris,

    Ideally you would want to do this type of processing inside the dataset with
    SQL, then use a single DBText in your report. How do you have your report
    designed? Are DBText1 and DBText2 next to eachother horizontall…
  • Hi Freddy,

    When asking a question, please start a new thread. This help us track down
    your questions and answer them more quickly.

    I'm a bit unclear about what you would like to do. If you would like full
    justifie…
  • Hi Paul,

    There is no direct way in RAP to alter the AutoSearch dialog. It is
    possible however to create a custom AutoSearch dialog that would allow you
    to take complete control over how the dialog interacts with user input. <…
  • Hi Chris,

    The problem is the DBCalc components. As a rule of thumb, it is never a
    good idea to use DBCalc values in another calculation. The timing in which
    a DBCalc gets its value differs from the TppVariable. I would reco…
  • Hi Kyle,

    Is this the only report that has this problem? If so, you may have a
    corrupted template. If you would like, send the template in .zip format to
    support@digital-metaphors.com and we'll take a look at it for you.
  • Hi Bhoj,

    At what point would you like your user to enter a value in? The only want
    to easily get a value from Dephi into RAP is by using Parameters. Would it
    be possible to create a dialog in RAP using a pass-thur function a…
  • Hi,

    For future reference, please post with your full name when using these
    newsgroups.

    You can remove a dataview from the data tab by right clicking over it and
    selecting "Delete" from the popup menu.

    -- …
  • Hi Paul,

    Yes I have NexusDB 2 installed on my machine for Delphi 7 and Delphi 2006.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digita…
  • Thanks Paul,

    Would it be possible for you to send me an example of this report that you
    are able to recreate the issue with? If so, please send a small project in
    .zip format to support@digital-metaphors.com and I'll take a l…
  • Hi Paul,

    In my quick testing, I was unable to recreate this behavior using the
    Customer and Orders tables of the DBDEMOS database. If possible, please
    provide the exact steps I need to take to see this on my machine.
  • Hi Joe,

    The same concept will apply for every cell that you need to customize. You
    will need to know the specific row and column that you would like to change.
    All the changes however can be made in the GetCaptionTextEvent. …
  • Which version of Delphi and ReportBuilder are you using? The built-in demos
    are rigoursly tested and work correctly on all our machines here. They use
    the DBDEMOS database that is included with Delphi. You should also still be
    a…
  • Hi,

    You will need to check the aRow and aColumn parameters in order to know
    which cell you are altering. For instance the following will change the
    "Sum of" cell...

    procedure CrossTabGetCaptionTextEvent(Sender: TOb…
  • The demos are installed on your hard drive in the \RBuilder\Demos directory
    when you install ReportBuilder.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Changing the Value Dimension Caption of a crosstab Comment by nicocizik January 2007
  • Hi Joseph,

    Take a look at demo 127 located in the \RBuilder\Demos\3. Crosstabs\...
    directory. This shows which events to use to successfully customize the
    text of any given cell in a crosstab. I believe you are going to want…
  • For future reference, please post with your real name to these newsgroups.
    Also please provide a message in the body of the post that elaborates on the
    subject matter. This helps us answer your question more quickly and
    accurately…
  • Hi Chris,

    Take a look at the TdaSQLBuilder topic in the RBuilder help. This gives you
    a number of code examples on how to use it to manually create and add search
    criteria to your datasets in DADE from Delphi code or from RAP…
  • Hi Chris,

    There is no built-in feature that will allow your users to do this. One
    option would be to use RAP as you would in Delphi and assign the autosearch
    value entered to all your datasets using the TdaSQLBuilder object. …
  • Hi Deck,

    The series property is not currently included in RAP. It is still possible
    to access and use this property from RAP by either using a PassThru function
    or extending the RAP RTTI.

    --------------------------…
  • Hi Chris,

    The timing dialog can be accessed from the popup menu of the TppVariable
    component inside the Design window (Design tab). Simply select "Timing"
    from the popup menu and you can adjust when the variable will reset an…