alienscript
Registered User.
- Local time
- Today, 09:33
- Joined
- Jul 17, 2004
- Messages
- 20
Hi the expert,
I have a column named "PartNumber" in my table and I want to remove any letters that are found in the PartNumbers so that it would looks like in table 2.
I can use Edit\Replace with...Match any part of Field, but I must use a query to do the job of removing the Letters at end of the values because I want to use RunMacro to open all my queries in sequence.
How to use update query ? or use a VBA code ?
Can someone help me with this and thanks a lot in advance.
[original table 1]
PartNumber
1009102
67730W
0100-09106B
0020-09107
0100-09107W
32000456612
5100-99088S
0100-09109
0100-09110A
0100-09113W
50414709000W
[desired final table 2]
PartNumber
1009102
67730
0100-09106
0020-09107
0100-09107
32000456612
5100-99088
0100-09109
0100-09110
0100-09113
50414709000
I have a column named "PartNumber" in my table and I want to remove any letters that are found in the PartNumbers so that it would looks like in table 2.
I can use Edit\Replace with...Match any part of Field, but I must use a query to do the job of removing the Letters at end of the values because I want to use RunMacro to open all my queries in sequence.
How to use update query ? or use a VBA code ?
Can someone help me with this and thanks a lot in advance.
[original table 1]
PartNumber
1009102
67730W
0100-09106B
0020-09107
0100-09107W
32000456612
5100-99088S
0100-09109
0100-09110A
0100-09113W
50414709000W
[desired final table 2]
PartNumber
1009102
67730
0100-09106
0020-09107
0100-09107
32000456612
5100-99088
0100-09109
0100-09110
0100-09113
50414709000