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

    Make Table query from results on Continuous Form

    I have a form called "Filter" which is linked to my table called "Contacts" it uses some filter to display some information in a continuous way. I would like to send emails to the people who I check a include checkbox on after the filter has run. The filter works great and the code to send emails will work. However I need to be able to send this filtered data into a query to save all the data in a new table how would I do that?



    I have tried making a create table and basing it off the Contacts table and then getting the ID from the Filter form by using the criteria "[forms]![Filter]![ID]" This works but it only shows the top record not all of them on the form.

    Thank you.

    Here is a SS of my filter form so you can see the form I am talking about. It only stores the top one in the new table "Filter Results"

    Click image for larger version. 

Name:	Capture.PNG 
Views:	13 
Size:	12.1 KB 
ID:	13747

  2. #2
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    With the table based on the Contacts table, you could run a DELETE query then APPEND query so the information is "overwritten" when you perform a new filter.

    As you don't identify where/what "ID" is on the form, I can only suggest to base your query on whatever the Form Object name is for "Include" = True.

    HTH.

  3. #3
    lewis1682 is offline Advanced Beginner
    Windows 7 32bit Access 2003
    Join Date
    Aug 2013
    Posts
    37
    The ID is hidden, when I run this query it only uses the top record not all of them on the form

  4. #4
    TG_W is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2010
    Location
    Manvel, TX
    Posts
    299
    Ok, well, have you tried to replace ID with the control name for the Include check box control name being true?

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

Similar Threads

  1. Replies: 5
    Last Post: 05-21-2013, 02:21 PM
  2. Replies: 6
    Last Post: 05-14-2012, 07:24 AM
  3. Replies: 1
    Last Post: 01-15-2012, 05:05 PM
  4. Replies: 6
    Last Post: 02-09-2011, 07:30 AM
  5. Replies: 0
    Last Post: 02-24-2010, 12:56 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