Results 1 to 8 of 8
  1. #1
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528

    Collect certain values

    Hello all
    How I do I collect the amounts that fall between brackets in the report
    In other words, only debt
    -100


    Click image for larger version. 

Name:	Capture.PNG 
Views:	15 
Size:	6.0 KB 
ID:	14925

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Create a query, and use the following criteria under that field:
    Code:
    < 0
    That will only return records which have values less than zero in that field (your debts).

  3. #3
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Reply in PM:
    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
    You should make all your replies back to the thread, not via Private Message.

    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).

  4. #4
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    I worked so
    That's where the report goes back to the query
    But there is a problem at the end of the report writing function
    Click image for larger version. 

Name:	66666.JPG 
Views:	11 
Size:	52.1 KB 
ID:	14933

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    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)

  6. #6
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Thank you itsme
    I just want to collect the values ​​that hold value -
    Click image for larger version. 

Name:	uu.JPG 
Views:	10 
Size:	53.6 KB 
ID:	14934

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,640
    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.

  8. #8
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    528
    yaaaaaaaaahooooo
    Thank you very much June
    Click image for larger version. 

Name:	hhhhhh.JPG 
Views:	9 
Size:	22.1 KB 
ID:	14935

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 02-18-2013, 09:05 AM
  2. collect data via email
    By aspen in forum Access
    Replies: 2
    Last Post: 04-26-2012, 03:21 AM
  3. Collect a certain value
    By alwazeer in forum Reports
    Replies: 3
    Last Post: 11-17-2011, 04:20 PM
  4. Best Way to Collect Data
    By dssrun in forum Access
    Replies: 9
    Last Post: 01-05-2011, 10:14 AM
  5. Collect data through emails messages
    By DaveyJ in forum Forms
    Replies: 1
    Last Post: 06-19-2010, 12:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums