VFP9SP1 free tables

Is there a way to determine a value in a numeric field is in an overflow
condition?  For example:

CREATE CURSOR crap (nscore n(2))
INSERT INTO crap VALUES (99)
INSERT INTO crap VALUES (999)
BROWSE
WAIT WINDOW nscore
PUBLIC x,z
x=nscore
z=str(nscore)
DEBUG

I want to have some code that checks a certain field in a table to see if
any values are in a numeric overflow state.  The only solution I can think
of off the top of my head is to do a STR(nscore) and then check that to
see if LEFT(STR(nscore),1) = "*" but wanted to check with others to see if
there's a better/different way?

tia,
--Michael




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to