Re: HELP with SYNTAX!!!!!!!
From: Internet Anwender <manor.entw_at_datacomm.ch>
Date: Fri, 03 Sep 1999 14:17:22 +0200
Message-ID: <37CFBC52.C87322AB_at_datacomm.ch>
THEN
...
Date: Fri, 03 Sep 1999 14:17:22 +0200
Message-ID: <37CFBC52.C87322AB_at_datacomm.ch>
Vic Millan wrote:
> Hello,
>
> I hope someone can correct my syntax with ths line of code:
>
> IF ('#LIPREPAY#' = 'CC' and '#PREPAYAMOUNT#' = select amount from
> prepayment where adno = '#ADNO#' and vno = 'Y')
This could work:
IF
( '#LIPREPAY#' = 'CC'
AND '#PREPAYAMOUNT#' IN ( SELECT amount
FROM prepayment WHERE adno = '#ADNO#' AND vno = 'Y' ))
THEN
...
but maybe you should write an explicit Cursor...
til Received on Fri Sep 03 1999 - 14:17:22 CEST