• gabCruz (1/6/2015)


    Hi Gents,

    Thanks for all the suggestions. I already found out what the issue is. I missed to validate the date strings using isDate(). My bad. I used isDate and it worked ok.

    Apologies and Thanks.

    You might want to be a bit careful about using just ISDATE(). What do you thing a string containing '5000' as a string is going to return???

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)