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
I am looking forward to learn about JSF with ICEfaces
MSG 3930 error in sqlserver2008
namespace question
How can I prevent my object being overwritten in a for loop?
Connect to an XenServer within iPhone
CSS works locally but not on server
asp.net: How to determine if the type of user logging in... is an Admin or a User
Flex Shared Object - Array Collection access
Formula to split Names
Cannot Replicate FREEBUSY from Exchange 2003 to Exchange 2010 - EVENT 14029, 4003,