View Full Version : SCAN for Numeric
Guest.Visitor
10-28-2002, 07:22 AM
Use the opcode "CHECK" Chris <hr width=50 align=left>Code ('http://www.mcpressonline.com/mc/showcode@@.6ae440f7/0')
Matt.Tyler
10-28-2002, 02:50 PM
Use the testn opcode. Indicator LO = character field only contains numerics, LO = character field contains leading blanks and numerics only, EQ = character field only contains blanks. If the indicators are not on then there is non-numeric data. This is really useful when you have negative data with in a character field (i.e., value '775N' is actually is -7755). Just scanning for numeric numbers is not going to cover you in this case. Matt
sgraves@summitpet.com
10-28-2002, 02:50 PM
Can you scan a numeric field for characters. I have just used a move from a character field to numeric field and I need to verify that the character field or numeric field only contains 0-9. thanks
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.