locked
Check for Numeric Value in Crystal Reports RRS feed

  • Question

  • User-770991769 posted

    I need to check if a database field contains a numeric value in it. Here is some pseudo code:

    if {myField} is numeric 
    // do something
     else (non numeric)
    // do something else 
    Saturday, July 28, 2012 6:52 AM

All replies

  • User1759999623 posted

    Try using IsNumeric(CStr({myfield})).

    Sunday, July 29, 2012 3:06 AM