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

=======================================
Simon Verona
Director
Dealer Management Services Ltd
T: 0845 686 2300
========================================

On 11/07/2012 04:48, Noh wrote:
Hi....
How can I store the result from Jbase command in a variable
I do like this, but it doesn't work

    PROGRAM TEST
    NUM.FT = EXECUTE "COUNT FBNK.FUNDS.TRANSFER$NAU WITH CO.CODE EQ
    XX0010001
    IF NUM.FT GT 0 THEN
    DISPLAY "FT ": NUM.FT
    END
    END


pls guide me how to do it
Big thanks in advance
--
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


--
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

Reply via email to