I am writing queries with some complex IIF statements. I find it very difficult to edit and read those Expressions in Access Editor.
Is there any other/better Editor I can use to edit those statements? Here is a sample:
Domestic HV Distribution Expenses Calculated: IIf(IsNull([Total Distribution Expenses]),IIf(IsNull([Domestic Distribution Expenses]),Nulltozero([Domestic HV Distribution Expenses]),([Domestic Distribution Expenses])*IIf(NullToZero([Domestic Revenues])=0,0,NullToZero([Domestic HV Gross Revenue])/[Domestic Revenues])),IIf([Dom HV Deals].[HVDeal]="Royalty",DMax("[Edited Expenses]","[Imputed HV Expenses]","[Gross Revenues] <= " & NullToZero([Domestic Distribution Expenses])),([Total Distribution Expenses])*(IIf(NullToZero([Total revenues])=0,0,NullToZero([Domestic HV Gross Revenue])/[Total Revenues]))))
Is there any other/better Editor I can use to edit those statements? Here is a sample:
Domestic HV Distribution Expenses Calculated: IIf(IsNull([Total Distribution Expenses]),IIf(IsNull([Domestic Distribution Expenses]),Nulltozero([Domestic HV Distribution Expenses]),([Domestic Distribution Expenses])*IIf(NullToZero([Domestic Revenues])=0,0,NullToZero([Domestic HV Gross Revenue])/[Domestic Revenues])),IIf([Dom HV Deals].[HVDeal]="Royalty",DMax("[Edited Expenses]","[Imputed HV Expenses]","[Gross Revenues] <= " & NullToZero([Domestic Distribution Expenses])),([Total Distribution Expenses])*(IIf(NullToZero([Total revenues])=0,0,NullToZero([Domestic HV Gross Revenue])/[Total Revenues]))))