Jump to content

Check field for numeric value


This topic is 5775 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

How can a field be checked for valid numeric value? I used database validation tab to set 'strict data type' as numeric only. But during import (using script) it added the records with field empty for invalid values. Isvalid() function takes value as 'B3' as valid.

Another step I tried :

GetAsText($TEMP_1) ≠ (($TEMP_1 + 1) - 1)

where $TEMP_1 contained the field value. This worked for all cases except where zeros are prefixed with number. Example: '011'.

I need to throw a error if any invalid numeric value is encountered. Any suggestions?

Regards

Tushar

Link to comment
Share on other sites

This topic is 5775 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.