MS Access Format for a query
Closed
PM
-
Sep 12, 2011 at 07:02 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Sep 13, 2011 at 10:45 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Sep 13, 2011 at 10:45 AM
Related:
- MS Access Format for a query
- Ms access download - Download - Databases
- Format factory - Download - Other
- How to access google usa - Guide
- Kingston format utility - Download - Storage
- Excel date format dd.mm.yyyy - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Sep 13, 2011 at 10:45 AM
Sep 13, 2011 at 10:45 AM
Not sure exactly what you seeking. It seems to me that all you want to do is format the expression
I would do like this
IIf([type]="A"," ",
format(([correct rate]- IIf([type]="B",[Overall], IIf([TYPE]="C",[Income],IIf([TYPE]="D",[Income],[Current Rate]))))/100,"0.00"))
One difference between yours and mine is that I am not doing subrtaction in each IIF. I Only get the relevant field ( but you can also do it your way too)
I would do like this
IIf([type]="A"," ",
format(([correct rate]- IIf([type]="B",[Overall], IIf([TYPE]="C",[Income],IIf([TYPE]="D",[Income],[Current Rate]))))/100,"0.00"))
One difference between yours and mine is that I am not doing subrtaction in each IIF. I Only get the relevant field ( but you can also do it your way too)