Results 1 to 3 of 3
  1. #1
    clarkej is offline Novice
    Windows XP Access 97
    Join Date
    Nov 2010
    Posts
    12

    Update Query

    Hello

    Hoping someone will be able to help me with this one,



    I’m currently in the process of upgrading several Excel spread sheets into a Access Database (v 2010) there is some info that comes from a web portal and is paste into a sheet and then we use several formulas to pull out info from one of the cells that we require.

    Example

    Cell 1 : A Report was created by Sarah-Jane Smith (12345) for Mr John Smith (111963) on 30 Mar 2013
    The formulas will then pull out

    (12345)
    Mr John Smith
    31 Mar 2013

    And to do it we use the below formula (this is for pulling out the customer’s name)
    =LEFT(RIGHT(E7651,(LEN(E7651)-FIND(")",E7651,1)-5)),(FIND("(",RIGHT(E7651,(LEN(E7651)-FIND(")",E7651,1)-5)),1)-2))

    My Question is this, Is it possible to create an update query that will do the Access version of the Excel formula above? Or any other ideas on how to make this work?

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Here is a video on data manipulation. It should lead you in the right direction.

    http://www.datapigtechnologies.com/f...anipulate.html

  3. #3
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Also note that the LEFT and RIGHT functions exist in Access too. The INSTR function is Access's equivalent of Excel's FIND function.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-30-2012, 07:59 AM
  2. Replies: 4
    Last Post: 11-10-2011, 03:41 PM
  3. Replies: 1
    Last Post: 08-19-2011, 12:16 PM
  4. Update 2 tables with one Update Query
    By Douglasrac in forum Queries
    Replies: 4
    Last Post: 04-14-2011, 08:33 AM
  5. Update Query- selective update?
    By stephenaa5 in forum Queries
    Replies: 1
    Last Post: 10-29-2009, 11:15 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