K
KRISH
I am having a query [AppInst], where i am calculating
[Total Marks]= (([Interview Marks]+[CAM]+IIf([Sex]
="F",5,0))
Now I designed a report based on a query, in this query i
am calculating as follows
Rank: DCount("[Application ID]","AppInst","[Session]= '" &
[Session] & "' And [Inst Code] ='" & [Inst Code] & "' And
[Dept Code]='" & [Dept Code] & "' And [Selected] ='Yes'
And [Total Marks]>=" & CCur(([Interview Marks]+[CAM]+IIf
([Sex]="F",5,0))))
The above is working fine if I dont specify any criteria
for [Rank]. But I want to give criteria for [Rank] in the
where condition of the same. If I specify any criteria say
1, 2 or 3 .... it is giving an error, saying too complex
to evaluate expression and asking to simplify the
expression. Kindly help me to solve the problem.
Thanks
[Total Marks]= (([Interview Marks]+[CAM]+IIf([Sex]
="F",5,0))
Now I designed a report based on a query, in this query i
am calculating as follows
Rank: DCount("[Application ID]","AppInst","[Session]= '" &
[Session] & "' And [Inst Code] ='" & [Inst Code] & "' And
[Dept Code]='" & [Dept Code] & "' And [Selected] ='Yes'
And [Total Marks]>=" & CCur(([Interview Marks]+[CAM]+IIf
([Sex]="F",5,0))))
The above is working fine if I dont specify any criteria
for [Rank]. But I want to give criteria for [Rank] in the
where condition of the same. If I specify any criteria say
1, 2 or 3 .... it is giving an error, saying too complex
to evaluate expression and asking to simplify the
expression. Kindly help me to solve the problem.
Thanks