K kirkm Registered User. Local time Tomorrow, 08:45 Joined Oct 30, 2008 Messages 1,257 Aug 2, 2021 #1 Can an single update query fix spelling mistake in e.g. all instances of "Sydney Lipton" change to "Sidney Lipton" The field is called "AC" and contains other text and "Sydney Lipton" could appear anywhere.
Can an single update query fix spelling mistake in e.g. all instances of "Sydney Lipton" change to "Sidney Lipton" The field is called "AC" and contains other text and "Sydney Lipton" could appear anywhere.
NauticalGent Ignore List Poster Boy Local time Today, 14:45 Joined Apr 27, 2015 Messages 7,044 Aug 2, 2021 #2 In short, yes. A simple Update Query will do...have you tried it?[
K kirkm Registered User. Local time Tomorrow, 08:45 Joined Oct 30, 2008 Messages 1,257 Aug 2, 2021 #3 LOL no I have not! I'd have to setup some test conditions and fluff around for ages. I'd find it much easier to do it all in VBA.
LOL no I have not! I'd have to setup some test conditions and fluff around for ages. I'd find it much easier to do it all in VBA.
arnelgp ..forever waiting... waiting for jellybean! Local time Tomorrow, 03:45 Joined May 7, 2009 Messages 20,682 Aug 2, 2021 #4 it is much faster to proofread and correct such mistake. with names, it's hard since there can be Syney, Sidney, Sidni, Sidhni. only that person knows and you will know if you got informed.
it is much faster to proofread and correct such mistake. with names, it's hard since there can be Syney, Sidney, Sidni, Sidhni. only that person knows and you will know if you got informed.
June7 AWF VIP Local time Today, 10:45 Joined Mar 9, 2014 Messages 6,115 Aug 2, 2021 #5 Run UPDATE action sql in VBA. CurrentDb.Execute "UPDATE tablename SET AC = Replace(AC, 'Sydney Lipton', 'Sidney Lipton')" Can even run that from Immediate Window.
Run UPDATE action sql in VBA. CurrentDb.Execute "UPDATE tablename SET AC = Replace(AC, 'Sydney Lipton', 'Sidney Lipton')" Can even run that from Immediate Window.
theDBguy I’m here to help Staff member Local time Today, 11:45 Joined Oct 29, 2018 Messages 22,724 Aug 2, 2021 #6 kirkm said: LOL no I have not! I'd have to setup some test conditions and fluff around for ages. I'd find it much easier to do it all in VBA. Click to expand... In most cases, it is faster and simpler to use an action query than VBA [recordsets].
kirkm said: LOL no I have not! I'd have to setup some test conditions and fluff around for ages. I'd find it much easier to do it all in VBA. Click to expand... In most cases, it is faster and simpler to use an action query than VBA [recordsets].
K kirkm Registered User. Local time Tomorrow, 08:45 Joined Oct 30, 2008 Messages 1,257 Aug 2, 2021 #7 Very nice June, I can see that's a really good solution. Wouldn't have though of db.Execute.