Results 1 to 3 of 3
  1. #1
    twgonder is offline Expert
    Windows 10 Access 2021
    Join Date
    Jun 2022
    Location
    Colombia
    Posts
    658

    How to change just a few fows in a field in table datasheet view

    Okay, it's early, I'm not fully awake yet,


    for five minutes I thought I was going crazy.

    I see that I'm not understanding something that seems pretty obvious, but it's not.
    (One might say, before trashing my data, I should have seen what was going on in the preview, but I like to keep my eye on the ball and not the back rows of the stadium, and as I said, it's still a bit early.)

    I'm cleaning up some stuff, working in the datasheet view of a table and need to replace one field in certain rows,
    in the example below, I need to change the 1 to 2 in the highlighted "cells"

    Click image for larger version. 

Name:	230330Rep.jpg 
Views:	15 
Size:	82.8 KB 
ID:	50018

    However, when I finish, the entire field (column) was replaced, not just the selected cells.
    Looking in the Find and Replace, Replace tab, Look In: I see current field, but not current selection (which I wrongly assumed
    would be by default, since that's what selections are normally for--can you imagine Word changing the entire document with a replace,
    not just what you selected? WTF Access?).

    Some of the selections might be a couple hundred records, so I don't want to sit there are press Replace each time.
    I just want to replace all in the selection. Obvious and simple, no?

    So, what am I missing here (I've tried everything I can think of)? How do I mass replace just the selected "1"s and not all the "1"s in the field?

    Finally, as I don't see a sub-forum dedicated to tables, is this the correct place for this question?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    filter the records you do want to change,
    then do global replace.

  3. #3
    twgonder is offline Expert
    Windows 10 Access 2021
    Join Date
    Jun 2022
    Location
    Colombia
    Posts
    658
    Quote Originally Posted by ranman256 View Post
    filter the records you do want to change,
    then do global replace.
    Yea, thanks, that makes MS sense. Silly me for trying to do it the simple way.
    Beyond the example given (to KISS for those that like to troll), I have to do multiple sorts to get it all aligned (which I still haven't figured out how to do in datasheet view of a table), we might as well make it a complicated query.
    Since I have to do this dozens of times, we can make a whole day endeavor of the otherwise simple task.

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

Similar Threads

  1. Replies: 4
    Last Post: 05-23-2014, 09:51 AM
  2. Replies: 2
    Last Post: 01-28-2014, 10:13 PM
  3. Replies: 3
    Last Post: 08-18-2013, 09:14 PM
  4. Replies: 6
    Last Post: 11-21-2012, 05:10 PM
  5. Change row-colors i subform datasheet view
    By rolfmagne in forum Forms
    Replies: 1
    Last Post: 03-02-2011, 11:07 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