Results 1 to 2 of 2
  1. #1
    ezhuridova is offline Novice
    Windows 10 Office 365
    Join Date
    Dec 2020
    Posts
    1

    Question How to replace exact text in a field to another?

    Hi there!


    I need a help how to create an query where in a column "Pilseta" word "Kraslava" will be replaced by / changed to "Kraslavas novads".Click image for larger version. 

Name:	001.jpg 
Views:	11 
Size:	80.8 KB 
ID:	43639Click image for larger version. 

Name:	002.jpg 
Views:	11 
Size:	92.3 KB 
ID:	43640

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    UPDATE Klienti SET Pilseta = "Kraslavas novads" WHERE Pilseta = "Kraslava"

    If you had a lookup table for Pilseta data and instead save key value, then would only have to edit the Kraslavas record in lookup table.
    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.

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

Similar Threads

  1. Replies: 1
    Last Post: 07-08-2019, 02:56 PM
  2. Replies: 11
    Last Post: 06-07-2018, 05:19 PM
  3. Replies: 8
    Last Post: 11-06-2017, 10:51 AM
  4. Text Box Only Finding Records with Exact Text
    By dannybeaver in forum Access
    Replies: 5
    Last Post: 09-11-2014, 07:38 AM
  5. Replies: 2
    Last Post: 07-21-2012, 01:21 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