on 12-09-2014 9:12 AM
Applied code below in order to have optional prompt, although optional prompt is succeed but after that I get the error which attach below
where
(A.BATCTRCDE='T413' or (A.BATCTRCDE='T405' and E.REPTYPE in (select REPLCODE from CDE_T_T3586)))and A.SACSCODE in ('FG', 'CO')
and
(
A.BATCACTYR = @Prompt('Enter This Year','N','Year Others':'BATCACTYR',Mono,Constrained,Persistent,,User:-1,Optional)
AND
(
A.BATCACTYR = year(getdate())
OR
A.BATCACTYR = @Prompt('Enter This Year','N','Year Others':'BATCACTYR',Mono,Constrained,Persistent,,User:-1,Optional)
))
Hello,
try this:
(A.BATCTRCDE='T413' or (A.BATCTRCDE='T405' and E.REPTYPE in (select REPLCODE fromCDE_T_T3586)))and A.SACSCODE in ('FG', 'CO')
and
(
AND
(
OR
))
regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.