Microsoft
Software
Hardware
Network
Question : Have Access report only show Amount data if no PayAmt data
Hi, experts!
I have a report pulling from a query, and two of the fields are Amount and PayAmt. In the report based on this query, for each detail record, I do NOT want to see the Amount IF there is a value in the PayAmt field. I've tried many different things, but no luck so far. Any ideas? Thanks!
Answer : Have Access report only show Amount data if no PayAmt data
Another option:
Add this as a new field in your query
SELECT Amount, IIF([PayAmount]>0,"",[Amoun
t]) As Amountx, PayAmount...
FROM YourTable
...
Then use the new "Amountx" Field in the report, not the original "Amount" Field.
;-)
JeffCoachman
Random Solutions
Hidden answers after logging in
VNC server Ubuntu 10.04
How to make IN operator to accept CSV which are varchar in SQL Server 2008
Need HP DMI Utility
compareTo() - JavaScript example needed
Access 2003 -> Word 2003 - have a question on code that works to save doc as pdf file...
Code was working in Android 2.1 SDK but not on 2.2
SPSS - Modify Output of Crosstabs
Why Not able to read excel file in the Web application running on Windows7/Office2010?
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?