Home End User

Variant error

edited April 2003 in End User
Hi

RB 7.02, win 2k pro

when I call ppReportexplorer1.execute I get error
'Could not convert variant of type (String) into type (Double)'

If run the same code compiled on an XP pro machine on the same database it
works fine.

The error is not in an area that I can debug.

Any ideas?

Regards
Paul

Comments

  • edited April 2003
    Hi Paul,

    are you using D6?
    (you must be using different code or different Delphis)

    regards,
    Chris Ueberall;
  • edited April 2003
    Chris

    Yes - sorry - should have added D6 to > RB 7.02, win 2k pro

    Hi Paul,

    are you using D6?
    (you must be using different code or different Delphis)

    regards,
    Chris Ueberall;
  • edited April 2003
    Chris

    I do now!

    After a project rebuild - made no difference :-(

    Regards
    Paul

  • edited April 2003
    Paul,

    I guess you don't have the last D6 patch from 2003-03-12 installed.

    regards,
    Chris Ueberall;
  • edited April 2003
    Hi Paul,

    for the case I wasn't very clear, I meant the latest update of D6 and not ReportBuilder.
    You should use :
    RB 7.02 Build 2
    Delphi 6 UP 2 (check the 'About' form)

    The compiled versions of your application should be the same, it doesn't differ when compiled on another platform.

    HTH,
    Chris Ueberall;
  • edited April 2003
    Chris

    I thought you where quite clear :-) I had already got D6 Upd 2, but found
    an rtl patch with the date you gave which I also applied.
    Also I do have RB7.02 Build 2.

    Any other ideas?

    Regards
    Paul



    Hi Paul,

    for the case I wasn't very clear, I meant the latest update of D6 and not
    ReportBuilder.
    You should use :
    RB 7.02 Build 2
    Delphi 6 UP 2 (check the 'About' form)

    The compiled versions of your application should be the same, it doesn't
    differ when compiled on another platform.

    HTH,
    Chris Ueberall;

    database
  • edited April 2003
    Hi Paul,

    a corrupt installation comes in mind, there are some advices in 'RBuilder.hlp' to resolve such an issue.
    Unfortunately I don't have D6 installed and can't reproduce the problem here.
    If the problem resists after reinstalling ReportBuilder (see above) I would contact support directly for further help.

    regards,
    CHris Ueberall;
  • edited April 2003
    Chris

    OK - thanks anyway

    Regards
    Paul


    Hi Paul,

    a corrupt installation comes in mind, there are some advices in
    'RBuilder.hlp' to resolve such an issue.
    Unfortunately I don't have D6 installed and can't reproduce the problem
    here.
    If the problem resists after reinstalling ReportBuilder (see above) I would
    contact support directly for further help.

    regards,
    CHris Ueberall;

    found
  • edited April 2003
    This has now been solved. It was GetFieldValue in the IBOPipeline. It
    returned an empty string for a blank field name instead of null. The XPPro
    machine had a different version of the Pipeline so it was nothing to do with
    the operating system.

    Regards
    Paul
This discussion has been closed.