You need a closing parenthesis at the end of the expression. I left that off my post.
Darrell
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of j1eggert
Sent: Friday, February 01, 2013 1:17 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Re: #Error after Running Query
Hello Darrell,
I tried the expression when I returned to the office, but it isn't woriking....issue with the parenthesis.
v/r,
James Eggert
--- In MS_Access_Professionals@yahoogroups.com, "Embrey, Darrell" wrote:
>
> Expression: TDA_Qty_Diff: (IIf [FY13_TDA_TOTAL] =0, 0, [FY13_TDA_TOTAL]-[FY08_TDA_TOTAL])/[FY13_TDA_TOTAL]
>
> Darrell
>
> From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of j1eggert
> Sent: Friday, February 01, 2013 11:27 AM
> To: MS_Access_Professionals@yahoogroups.com
> Subject: [MS_AccessPros] #Error after Running Query
>
>
>
> I created an expression to calculate the difference between to quantity fields and display as a negative or positive percentage. However, if the two fields have a value of zero the expression returns the #Error.
>
> Expression: TDA_Qty_Diff: ([FY13_TDA_TOTAL]-[FY08_TDA_TOTAL])/[FY13_TDA_TOTAL]
>
> How do I modify the expression to return a 0% instead of a #Error?
>
> Thanks for your help in advance!
>
> v/r,
>
> James Eggert
>
>
>
> The information contained in this communication is highly confidential and is intended solely for the use of the individual(s) to whom this communication is directed. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information is prohibited. Please notify the sender, by electronic mail or telephone, of any unintended receipt and delete the original message without making any copies.
>
> Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are nonprofit corporations and independent licensees of the Blue Cross and Blue Shield Association.
>
>
> [Non-text portions of this message have been removed]
>
The information contained in this communication is highly confidential and is intended solely for the use of the individual(s) to whom this communication is directed. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information is prohibited. Please notify the sender, by electronic mail or telephone, of any unintended receipt and delete the original message without making any copies.
Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are nonprofit corporations and independent licensees of the Blue Cross and Blue Shield Association.
[Non-text portions of this message have been removed]
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (5) |
Tidak ada komentar:
Posting Komentar