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

Error on Preview - Invalid variant operation

edited August 2002 in General
When I attemt to preview one of my reports I get an error dialog:
Error
Cannot generate report
Invalid variant operation
[OK]

How can I find what is causing this problem? I don't have a clue where to
look.

It also prevents me from closing the report designer and the only way out of
it is to close the project.

Thanks for any assistance,

-Johnnie

Comments

  • edited August 2002
    Hi Johnnie,

    I guess you are doing some calculations with NULL values.
    When you call the report inside the designer it will stop and show you where
    the calculation fails.

    HTH,
    Chris Ueberall;

  • edited August 2002
    What calculations can I be doing with NULL values in the report designer? I
    assumed all calculations were done only at run-time. Even with that, I
    commented out every bit of code in the form I have the report placed on and
    the error persists.

    I assume there is something wrong with the report storage. I tried saving
    to a file and reloading and again, the error persists.

    -Johnnie

  • edited August 2002
    Johnnie,

    RAP and TppVariable's calculation might fail.
    You should use the designer in runtime environment.

    regards,
    Chris Ueberall;

  • edited August 2002
    handled via private email. (patches send for D6 SP2, variant changes)
This discussion has been closed.