Results 1 to 13 of 13
  1. #1
    tarhim47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    57

    Question Filtering a report

    Hi,



    Im having some trouble filtering my report.

    Basically, I have a form which gathers data on new business. This new business can either be for a new client or an existing client. I inserted a check box in the form to use to distinguish between the two - selected (true) = existing client and deselected (false) = new client.

    I want to prepare a report which shows the status of the new businesses on any given day. Somthing like this:

    Status - open or closed (open - still chasing new bus; closed - have stopped chasing new business with this client)

    Score - new or no go (new - lead was converted into new business; no go - lead was not converted into new business)

    Here is where Im having trouble.

    When I try to further break-down the report between existing and new clients, the report breaks them down between true and false. Is there a way I can change the label on these heading. I tried to change them but when I do both of the headings change at the same time which kind of defeats the purpose.

    Please see attached .pdf of the report that is produced. Im not able to upload the dabse as it is too large.

    Thanks for your help!
    Last edited by tarhim47; 07-05-2011 at 02:58 PM. Reason: Uploaded dbase

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by tarhim47 View Post
    Im not able to upload the dabse as it is too large.
    Have you tried a Compact and Repair first and then Zip up the results?

  3. #3
    tarhim47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    57
    It's still too large - 4.33MB. Are you able to open the .pdf file?

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The pdf is not attached either.

  5. #5
    tarhim47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    57
    Now attached.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Reports are pretty flexible in Access. You can use a query as the RecordSource of the Repost and create addition fields to sort or filter on if you want.

  7. #7
    tarhim47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    57
    Yes. But the problem is that I want to display all the data on the same report. I can certainly use queries to seperate out existing data by using a criteria of true and new clients by using a criteria of false. But how do I show the results of both of the queries on the same report but seperated out?

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I am not suggesting using more than one query as the RecordSource of the Report. You can sort on New/Existing clients and you can also create a new field equal to whatever you want based on the New/Existing value. I guess I don't really understand your issue, sorry.

  9. #9
    tarhim47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    57
    I have now uploaded the dbase having deleted all extra items. Please take a look and see if you cant help me out.

    Thanks!

  10. #10
    Join Date
    Jan 2011
    Posts
    13
    What do you want it to say instead of "True" or "False"?

  11. #11
    Join Date
    Jan 2011
    Posts
    13
    Set the control source for the control called "New clients" on your report to:
    Code:
     
    =IIf([Existing client]=True,"Yes, these are existing","No, these are not existing")

  12. #12
    tarhim47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    57
    Thanks buddy!!! Worked perfectly. What an elegant solution.

  13. #13
    tarhim47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    57
    This message has been posted seperately.
    Last edited by tarhim47; 07-06-2011 at 12:23 PM. Reason: Changed question

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

Similar Threads

  1. Filtering a report
    By tarhim47 in forum Reports
    Replies: 2
    Last Post: 03-30-2011, 11:49 AM
  2. Filtering report
    By huv123 in forum Reports
    Replies: 2
    Last Post: 02-15-2011, 02:59 PM
  3. Report filtering
    By banjo1t in forum Reports
    Replies: 4
    Last Post: 01-26-2011, 06:43 AM
  4. Report Filtering..
    By banjo1t in forum Reports
    Replies: 1
    Last Post: 01-24-2011, 06:56 AM
  5. Filtering a Report
    By musicalogist in forum Reports
    Replies: 12
    Last Post: 04-29-2010, 08:36 PM

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