Create a query, and use the following criteria under that field:
That will only return records which have values less than zero in that field (your debts).Code:< 0
Reply in PM:
You should make all your replies back to the thread, not via Private Message.Thank you very much
Your answer to my question was
Create a query, and use the following criteria under that field:
How do I do this in the report
Is it possible example
Simply base your Report on the Query instead of the Table directly.
Pretty much anything you can use Tables for you can use Queries for (Reports, Forms, data exports, etc).
You can create detail footers in reports. If you right click the "Detail" control in the report, you can select an option to include headers and footers for the various sections of the report.
You can place an unbound control in the detail footer, or header, and then type your expression inside the control. Maybe something like...
= Sum(NameOfField)
Try:
= Sum(IIf([fieldname]<0,[fieldname],0))
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.