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

D2007 Rb11.02 and Rotated Label Causing Invalid Floating Point operation

edited June 2009 in General
I have a strange problem on a report A5 Label report that has been around
for years, throu version 8 to 11.02 Report Builder. That now reports an
error Invalid Floating Point Operation on a label that is rotated 270
degrees and we run the line ppLabelDescription := '' this causes the system
to raise the error described.

What seems strange is that we have other components on the form all rotated
to 270 degrees, and some others seem to work fine,
so i tried a small test
ppLabelDescription1 := '' ; <<<-- This First lines works fine
ppLabelDescription2 := '' ; <<<-- This line fails with the FP error

So I swapped them around
ppLabelDescription2 := '' ; <<<-- This line fails with the FP error
ppLabelDescription1 := '' ; <<<-- ...never reached

So im thinking its a faulty component ppLabelDescription2 ...Tarraaaa
So i delete the component copy ppLabelDescription1 , paste it rename to
ppLabelDescription2
And Hey presto...It still fails...
So the last thing i did was remove the 270 Rotation...IT WORKS...everytime
!!

WHY ?

I know its me...What did i do wrong ?

Comments

  • edited June 2009
    Hi Fred,

    Have you tried this with the latest version of ReportBuilder 11.04?

    Are you able to recreate this behavior with a simple example? If so, please
    send it in .zip format to support@digital-metaphors.com and I'll take a look
    at it for you.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2009
    I thought id follow your advise and update to 11.04 and checked the Vista
    Program and Features list, Only to find i have installed Reportbuilder
    version Enterprise 9.03 for D7, Enterprise 9.03 for D7, Enterprise 10.07 for
    D2007, 11.02 for 2007, and 11.04 for 2007

    Could this be why I am having trouble....also how do i remove the old
    versions as i guess i only need the most recent...?

    Thanks for the quick response by the way






  • edited June 2009
    Just repoend my project just to check, and My Mistake it does say in Help
    about version 11.04

    What do i do next master ?




  • edited June 2009
    > What do i do next master ?

    send them a demo :-)
  • edited June 2009
    I have split the example into two posts, the code and then the Program.exe
    here is the code




  • edited June 2009
    Sorry having trouble sending the exe, so ihave placed a link to the zip file
    complete on our web site
    www.cblsys.co.uk/Downloads/Project1big.zip

    Thanks for all your help

    Colin Coleman
  • edited June 2009
    For future reference please do not post attachments to these newsgroups.
    Send all examples in .zip format to support@digital-metaphors.com.

    There is a patch available that fixes this issue. Contact
    support@digital-metaphors.com to get the patch.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.