Results 1 to 5 of 5
  1. #1
    lewis1682 is offline Advanced Beginner
    Windows 7 32bit Access 2003
    Join Date
    Aug 2013
    Posts
    37

    Removing result from query with checkbox

    In my database I have a form which has some textboxes set up, these are linked to a query called "Filter_Contacts" Below these textboxes is a subfrom which shows the query's results. I then have buttons set up to create mailing labels with the results. What I would like to do is include a checkbox in the results to be able to remove so it is not added to the mailing list.



    Has anyone got any idea of how to do this? Thank you.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Would need a yes/no field in the table to apply filter criteria to then bind checkbox control to the field.
    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.

  3. #3
    lewis1682 is offline Advanced Beginner
    Windows 7 32bit Access 2003
    Join Date
    Aug 2013
    Posts
    37
    Okay then what will I need to do so if checkbox is yes then remove from query so it doesn't print there label

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Apply filter to the report to exclude (or include) the records checked Yes.

    You might find this discussion of interest https://www.accessforums.net/forms/y...ter-37393.html
    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.

  5. #5
    lewis1682 is offline Advanced Beginner
    Windows 7 32bit Access 2003
    Join Date
    Aug 2013
    Posts
    37
    Thank you that works perfectly

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

Similar Threads

  1. Removing lines from a query
    By Big D in forum Queries
    Replies: 1
    Last Post: 08-07-2013, 07:54 AM
  2. Helo with removing duplicate values in a query
    By David Sabot in forum Queries
    Replies: 1
    Last Post: 04-22-2013, 12:26 PM
  3. Replies: 6
    Last Post: 03-29-2013, 11:05 AM
  4. Adding/Removing and Saving an existing query
    By MondayLon676767 in forum Access
    Replies: 42
    Last Post: 01-31-2013, 04:36 PM
  5. SQL - removing zero results from query
    By kagoodwin13 in forum Programming
    Replies: 2
    Last Post: 05-11-2012, 03:21 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