Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find and destroy numeric overflow in numeric fiel
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00570762
Message ID:
00570806
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
>I have a table with some numeric fields with occasional asterisks in the fields meaning numeric overflow occurred. How can I search for numeric overflow asterisks and change those field values from asterisks to zeroes. I want to do a replace all one field at a time. I know how to do REPLACE ... ALL FOR ..., but it didn't work to specify MYTABLE.FIELD1 = "*" or MYTABLE.FIELD1 = whatever. What belongs after the equal sign to specify numeric overflow character? Thanks very much! I can't wait to find out this one. Beats me.

As alternative to George's solution you may try:
Replace myField with 0 for MyField>9999 (if it's numeric 4 field)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform