PSSMargaret
Registered User.
- Local time
- Today, 08:33
- Joined
- Jul 23, 2016
- Messages
- 74
I need the Maximum value of the VCRatio column to appear in a column in the same query. I have tried DMAX, but as you know it definitely drains performance so I'd like to try using Max in a subquery and I'm reading that I need to alias the subquery since both values will be in the same query. I have never used an alias. Could someone please show me how to alter the below. Thank you very much.
MaxVCRatio: IIf([VCRatio]>0,(SELECT Max([VCRatio]) FROM qryRank1),0)
MaxVCRatio: IIf([VCRatio]>0,(SELECT Max([VCRatio]) FROM qryRank1),0)