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

minimum and maximum for Date types

edited November 2004 in General
Hi there,

I'm using RB 7.03 with Delphi7 + MyDAC DADE.

I'm experiencing problems with computed variables.
The min and max works great on integer but doesnt work with date.

Maybe I'm doing something wrong.

best regards,

Etienne

Comments

  • edited November 2004
    Hello Etienne,

    Before all values are compared with a DBCalc, they are converted into
    varDouble type variants. This seems to be a direct conversion of the date
    numbers, which is why you are getting the wrong value. I will look to
    enhance this feature for a later release of ReportBuilder. As an
    alternative, you could use a TppVariable and manually compare the two date
    values.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    Thanks for that info Nico I will try this.

    Etienne

    Nico Cizik (Digital Metaphors) a écrit :
This discussion has been closed.