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

RB 7.03 error

edited April 2004 in End User
I have a custom report explorer. When I recompile in Delphi 7, I get the
following error:

exception class EVariantTypeCastError with message 'Could not convert
variant of type (Null) into type (Double)

method: TppReportExplorerForm.UpdateRecycleBin
Line: FReportExplorer.GetItems(itRecycleBin, itAllFolders, lItemNames);

Any ideas?

Comments

  • edited May 2004
    Hi Isaac,

    If you trace into the GetItems method, you can see that the only two fields
    that are doubles in the rbItems table are Deleted and Modified and in each
    case a Null value is checked for. If this is not the case, please update
    your version of ReportBuilder to RB 7.03 and see if the correct code is
    there.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2004
    That worked perfectly.

    Thanks.

This discussion has been closed.