Newbies Kericomp Posted November 15, 2002 Newbies Posted November 15, 2002 I have been using ABS(field) to test if field is numeric or text. This works for all text except words that start with the letter T. The abs() of "T" returns a value of 1. For any other letter it is blank. Why is this so??? Is it a special feature in Filemaker 4.1?
BobWeaver Posted November 15, 2002 Posted November 15, 2002 It's interpreting the T as the boolean value "true" which is stored internally as the value 1. Try using this test: NumToText(TextToNum(field))=field
Newbies Kericomp Posted November 15, 2002 Author Newbies Posted November 15, 2002 AHA! that explains why the letter "F" returns a zero and not a blank. thanks
Vaughan Posted November 15, 2002 Posted November 15, 2002 Use the TextToNum() function. It'll strip out all text and just leave the numbers nicely.
Recommended Posts
This topic is 8115 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 accountSign in
Already have an account? Sign in here.
Sign In Now