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

TppVariable Value not showing up

edited May 2006 in Subreports
Hello !

I have a TppVariable object that is not showing the value at run time,
however if I place a second variable object beside the first one the value
does show up in the second variable im confused suggestions please, here is
the code ( value := plQryBooks['City']+ ', ' +plQryBooks['State']+ ' '
+plQryBooks['Zip']; ) this is placed in the OnCalc event of the variable
object this works fine in all of my other Reports


Thanks
Richard

Comments

  • edited May 2006
    Hi Richard,

    Be sure that the variable's Visible property is set to True. Does the
    second variable show up with the same code in its OnCalc? Perhaps try
    deleting the first variable and re-adding it.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2006
    Yes Nico, I tried both of the suggestions, even tried to delete both
    variables and enter a new one it still did not show thats a strange problem
    because the other variables work in other reports I created, unless having
    the variable on the Main report of a report that has a subreport has
    something to do with it I just started using Subreports diden't need them
    before for the reports I use, maybe there is something I'm doing wrong


  • edited May 2006
    Hi Richard,

    Sorry for the delay.

    Take a look at the subreport demos located in the \RBuilder\Demos\1.
    Reports\... directory for some good examples of what they are capable of.
    Also, follow the link below for an example of using variables with
    subreports. Perhaps these will give you as idea why your report is not
    working correctly. If you still have problems, please send a small example
    that demonstrates the issue in .zip format to support@digital-metaphors.com
    and I'll take a look at it for you.

    http://www.digital-metaphors.com/tips/TotalsFromSubReport.zip

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.