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
Help with Lucene query in Alfresco
How to access class due to 'cannot instantiate abstract class' error
Exchange 2003 on SBS 2003 Active Sync and Blackberry/iPhone Configuration Help Needed
loop an array in an array and insert into db
Able to access the internet but unable to receive microsoft updates?
Apply gradient to cuved shape, like an 'S'
Comparing columns in a table
window 7 OS: blank (black) screen only, as it logs in
WatchGuard XTM Web UI
How to undelete public folder content on MS Exchange Server 2000