Results 1 to 8 of 8
  1. #1
    _Chris_ is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    24

    Question How do I filter on this ?

    Using MS Access (2003) quite regularly for a lot for mailshots, and when there's say a couple of hundred more address's to put on the database, I then input those address's, do the mailshot and then, to ensure that the same people don't get the same thing again, I usually apply a filter, something like a tick in the relevant column means that the person has already received something before, so don't send again!! (It's ok, all of the recipients have requested the info!).



    BUT, the problem is, after each mailshot, going through the db to put the ticks in the correct column, is not too bad when there's just a few 100, but there's projects coming up, where they're in the 1,000's.

    Has anyone found a way to solve this please ?

    Any help much appreciated.

    Chris

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    The best way is to use an update query, but you need some field that unique identifies the specific group of records, perhaps the date they were entered into the database?

  3. #3
    _Chris_ is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    24

    Thumbs up

    Many thanks, that worked a treat. I got it to auto complete with todays date for every new entry.

  4. #4
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome. Good luck with your project.

  5. #5
    _Chris_ is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    24
    Something else that has just arisen - how can I ensure that, in the queries, any email address's containing certain words, should not be included in that query please ? I know how to do null and is not null, but not sure on this one.

    Any help much appreciated.

    Chris

  6. #6
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    If you are only trying to eliminate records with certain words or phrases in the text of the e-mail itself, you will need to use the LIKE operator or more precisely NOT LIKE to have the query ignore certain records. You would use this in the WHERE or criteria section of the query. The SQL text would look something like this

    WHERE yourEmailFieldname NOT LIKE "*phrasetoignore*"

  7. #7
    _Chris_ is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    24

    Thumbs up

    Excellent, many thanks - problem solved

  8. #8
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome. Good luck with your project.

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

Similar Threads

  1. How do I remove a filter
    By cowboy in forum Forms
    Replies: 7
    Last Post: 04-21-2010, 10:13 AM
  2. VBA Filter
    By ntallman in forum Programming
    Replies: 7
    Last Post: 04-06-2010, 10:53 AM
  3. How to Filter Report
    By mikel in forum Reports
    Replies: 2
    Last Post: 08-28-2009, 10:11 AM
  4. Filter button
    By tomeem in forum Access
    Replies: 0
    Last Post: 08-28-2009, 12:50 AM
  5. How do you filter repot?
    By archie in forum Reports
    Replies: 9
    Last Post: 08-26-2009, 10:50 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