N naobao Registered User. Local time Yesterday, 23:59 Joined Feb 13, 2014 Messages 99 Nov 9, 2016 #1 Can change the table record from "Part1" to "Part2" use access query?? Part1 GOLD-023-B-126 YELLOW-23-A76-12 GREEN-7-NW-6B Part2 GOLD023B126 YELLOW23A7612 GREEN7NW6B
Can change the table record from "Part1" to "Part2" use access query?? Part1 GOLD-023-B-126 YELLOW-23-A76-12 GREEN-7-NW-6B Part2 GOLD023B126 YELLOW23A7612 GREEN7NW6B
S sneuberg AWF VIP Local time Yesterday, 23:59 Joined Oct 17, 2014 Messages 3,506 Nov 9, 2016 #2 If Part1 is a field let's say PartName for example and then something like: UPDATE TheNameOfTheTable SET PartName = 'Part2' WHERE PartName = 'Part1'; Do you want to remove the hyphen too?
If Part1 is a field let's say PartName for example and then something like: UPDATE TheNameOfTheTable SET PartName = 'Part2' WHERE PartName = 'Part1'; Do you want to remove the hyphen too?
N naobao Registered User. Local time Yesterday, 23:59 Joined Feb 13, 2014 Messages 99 Nov 9, 2016 #3 Part1 is table records Part2 is query result I want to use a query to remove hyphen
S sneuberg AWF VIP Local time Yesterday, 23:59 Joined Oct 17, 2014 Messages 3,506 Nov 9, 2016 #4 In that case Code: UPDATE Table1 SET Table1.PartName = Replace([Table1]![PartName],"-",""); This is demonstrated in the attached database. Attachments RemoveHyphen.accdb RemoveHyphen.accdb 432 KB · Views: 63
In that case Code: UPDATE Table1 SET Table1.PartName = Replace([Table1]![PartName],"-",""); This is demonstrated in the attached database.
N naobao Registered User. Local time Yesterday, 23:59 Joined Feb 13, 2014 Messages 99 Nov 9, 2016 #5 Many thanks for help!!