Article ID: 193415
Article Last Modified on 12/11/1999
IF Round(m.x3,2) <> 300.03
? "Mismatch 3"
ENDIF
*******************Begin Code****************
CLOSE ALL
CLEAR
SET DECIMALS TO 10
CREATE CURSOR test2 (f1 N(10,2))
CREATE CURSOR test3 (f1 N(10,2))
CREATE CURSOR test4 (f1 N(10,2))
CREATE CURSOR test5 (f1 N(10,2))
CREATE CURSOR test6 (f1 N(10,2))
INSERT INTO test2 VALUES(100.01)
INSERT INTO test2 VALUES(100.01)
INSERT INTO test3 VALUES(100.01)
INSERT INTO test3 VALUES(100.01)
INSERT INTO test3 VALUES(100.01)
INSERT INTO test4 VALUES(100.01)
INSERT INTO test4 VALUES(100.01)
INSERT INTO test4 VALUES(100.01)
INSERT INTO test4 VALUES(100.01)
INSERT INTO test5 VALUES(100.01)
INSERT INTO test5 VALUES(100.01)
INSERT INTO test5 VALUES(100.01)
INSERT INTO test5 VALUES(100.01)
INSERT INTO test5 VALUES(100.01)
INSERT INTO test6 VALUES(100.01)
INSERT INTO test6 VALUES(100.01)
INSERT INTO test6 VALUES(100.01)
INSERT INTO test6 VALUES(100.01)
INSERT INTO test6 VALUES(100.01)
INSERT INTO test6 VALUES(100.01)
SELECT test2
SUM f1 TO m.x2
SELECT test3
SUM f1 TO m.x3
SELECT test4
SUM f1 TO m.x4
SELECT test5
SUM f1 TO m.x5
SELECT test6
SUM f1 TO m.x6
IF m.x2 <> 200.02
? "Mismatch 2"
ENDIF
IF m.x3 <> 300.03
? "Mismatch 3"
ENDIF
IF m.x4 <> 400.04
? "Mismatch 4"
ENDIF
IF m.x5 <> 500.05
? "Mismatch 5"
ENDIF
IF m.x6 <> 600.06
? "Mismatch 6"
ENDIF
*******************End Code**************************
Notice that there are two errors listed:
M.X3=300.03 M.X6=600.06Both of these entries return ".F."
Additional query words: kbVFp500 kbVFp600 kbVFp500a kbXBase
Keywords: kbprb kbpending kbcode KB193415