Unless there is some syntax I'm not aware of, you don't want "NUM.FT = EXECUTE"
Try: EXECUTE "COUNT .." CAPTURING RESULT * Parse result here with something like NUM.FT = FIELD(RESULT<1>," ",1) IF NUM(NUM.FT) AND NUM.FT GT 0 THEN . HTH From: Simon Verona Hi You need to add a capuring clause as below. PROGRAM TEST NUM.FT = EXECUTE "COUNT FBNK.FUNDS.TRANSFER$NAU WITH CO.CODE EQ XX0010001" CAPTURING RESULT IF NUM.FT GT 0 THEN DISPLAY "FT ": NUM.FT END END You get the full message back, so you can't just check the number - but you should be able to work that bit out Regards Simon -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
