Results 1 to 3 of 3
  1. #1
    NAP50 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Posts
    9

    Post Removing Certain Entries From Text Field

    I currently have an access form which contains a text field named “emails”. The text field is populated by a query which returns entries from an sql database (specifically it is from an sql view created in Microsoft SQL server 2008).

    What I urgently need to do is remove entries relating to test emails such as testaccount1@email.com, testaccount2@email.com etc. Is there any way I could do this using VBA code, perhaps after the code to populate the text field has finished?



    If so what should I be looking into?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    build a make table query, create a local email table to use. tEmails
    delete items in this list you dont want, then use this list to send.

  3. #3
    NAP50 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Posts
    9
    That worked, thanks for the suggestion Ranman.

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

Similar Threads

  1. Replies: 11
    Last Post: 03-17-2015, 05:10 PM
  2. Replies: 2
    Last Post: 02-10-2015, 02:12 PM
  3. Replies: 8
    Last Post: 10-09-2014, 01:31 AM
  4. Removing Text If Null
    By lewis1682 in forum Reports
    Replies: 1
    Last Post: 09-23-2013, 10:46 AM
  5. Removing text between parentheses.
    By jwhitley in forum Programming
    Replies: 3
    Last Post: 01-17-2013, 02:37 PM

Tags for this Thread

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