EVariantBadIndexError

edited May 2004 in FastReport 2.xx VCL
Hello,

a few days ago i ran into problems with fastreports 2.51 when i try to open the editor by double click the component i recieve a EVariantBadIndexError error.

reinstalling and upgrading the component to version 2.52 doesn't solve the problem ... anyone have a idea what cause this problem?

Erwin

Comments

  • FadFad
    edited 9:16PM
    I have the same problem, it happens to me when I set the printer to an offline printer. However, when I set it to "virtual printer" the error is gone.

    ;)
  • edited 9:16PM
    Can you set the printer when in ide ? i looked in the properties for fastreport component but can't find any property to set the printer.

    Erwin
  • FadFad
    edited 9:16PM

    There are several ways to change the default printer programatically. I can't recall them now though :| .

    Moreover, the source code for the designer is included, so you can extend its capabilities by adding your own code to the designer (if the license allows it).
    You might also add some code to check if the printer is online in one of the "before" events that are included, or create your own event.
  • edited 9:16PM
    i installed a new printer... wich was setted to default ... when changing the default printer back to the old printer the error was gone ... the author of this component can maybe build in a function tho check if the default printer is online ...if not try another printer in the list or set printer to virtual

    Erwin

Leave a Comment