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

Newbie variable question

edited February 2003 in General
In the design view of a report, how do I declare a variable and perform a
calculation?

thank you
Chris Lawery

Comments

  • edited February 2003
    Put a Variable component from the RB's toolbar into the report and use
    it's OnCalc event to assign the value you need.

  • edited February 2003
    I looked and cannot find where to use it's OnCalc event

  • edited February 2003
    Hi Chris,

    do a right click over the variable component and select 'calculation ...'.

    HTH,
    Chris Ueberall;
  • edited February 2003
    Hello Chris

    When I right click over the variable all I have available is:

    Bring to Front
    Send to Back
    AutoSize
    DisplayFormat...
    LookAhead
    Position...
    ReprintOnOverFlow
    ShiftWithParent
    Timing...
    Transparent
    Visible
    WordWrap

    Thanks,
    Chris Lawery


  • edited February 2003
    Select the component, go to the object inspector events and select the
    OnCalc event. Double-clicking the component does the same if i'm not wrong.

  • edited February 2003
    I think I may have posted in the wrong group. I am using the end user
    report builder. I don't have delpi, only rbuilder.

    Thanks
    Chris Lawery

  • edited February 2003
    Hi Chris,


    Maybe, but now it's too late to switch. ;-)


    so you should ask the developer of that application to enable this feature.

    regards,
    Chris Ueberall;
  • edited February 2003
    Chris,
    Thanks for the help. I just left a voice mail with my developer. Hopefully
    he will enable this feature for me.

    Chris Lawery

    p.s. what is this feature called?
    thanks again

  • edited February 2003
    Hi Chris,

    describe your problem as you did it here.

    regards,
    Chris Ueberall;
  • edited February 2003
    Hello Chris,

    Thanks for all you help. I just received my update from my developer. He
    added in the calculations feature. All is working well now.

    Thanks again,
    Chris Lawery

  • edited July 2003
    Chris,

    Newbie developer question: how DOES one "enable this feature" in an
    application? How can I set the End User Reporting setup to permit end users
    to create and use their own variables?

    Thanks.

    Steve Pembridge
    spembrid@cecomet.net

  • edited July 2003
    Hi Stephen,

    you need the Enterprise version. See chapter 'Controlling the EndUser Environment' in the Developer's Guide.

    regards,
    Chris Ueberall;
This discussion has been closed.