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
PHP and concurrent access to files ?
Sonicwall Rule Issue
Trouble with Menu Drop Down Form
Dell PowerEdge Perc 4e/Di RAID 1 expansion
.NET FTP Control
Removing Rootkit.Agent on Windows XP SP3 ComboFix log attached
Exchange 2010 Public Folder Error
Query not inserting rows into table
BFILE to BLOB
Outlook 2007 w/ Exchange 2010 empty folder