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

PROBLEMS WITH RTM FILES

edited June 2007 in General
Hi!
I have tried to make a general purpose report generator for making rtm files
to use in my programs.
Now, I use RB 10.06 and D2007, sp1.
I don't know if it is relevant, but after updating to d2007, sp1 I get
problems trying to use my pre made reports in my programs. When I try to
edit my pre made reports in my program, I get a message "Error reading
ppReport2.OnPreviewFormCreate: Invalid property value."
The problem is that I have no component anywhere which is called ppReport2.
Suggestions??
Please!!
Kind regards
TorB.

Comments

  • edited June 2007
    > ppReport2.OnPreviewFormCreate: Invalid property value."

    that is because the OnPreviewFormCreate method is defined in the RTM of the
    report, but is not in the owner of the TppReport object--it is looking for
    such an event.

    --
    Ed Dressel
    Team DM
  • edited June 2007
    Thank you very much, Ed!!
    That did it.
    I had forgotten about this routine which is setup on how the preview form
    looks like.
    It's working now.
    Kind regards
    TorB.

    *****

    "Ed Dressel [Team DM]" skrev i melding
This discussion has been closed.