rpadminserver
Board Regular
- Joined
- Nov 7, 2007
- Messages
- 111
- Office Version
- 365
Hello all
Is it possible to do multiple updates in one query.
This is a example of what I'm trying to do:
******
UPDATE TEST4a set
(TEST4a.NNd = replace(Replace(Replace(TEST4a.NNd,"A",""),"V",""),"..",".")
WHERE TEST4a.NND is not null and test.nnd <> "N/A" ) and
(TEST4a.NNP = replace(Replace(Replace(TEST4a.NNp,"A",""),"V",""),"..",".")
WHERE TEST4a.NNp is not null and test.nnp <> "N/A")
******
There are some 20 fields that I need to make this check on. I did not want to clutter my query library wtih that many queries.
Thanks!
FYI.. I'm using access 2003
Is it possible to do multiple updates in one query.
This is a example of what I'm trying to do:
******
UPDATE TEST4a set
(TEST4a.NNd = replace(Replace(Replace(TEST4a.NNd,"A",""),"V",""),"..",".")
WHERE TEST4a.NND is not null and test.nnd <> "N/A" ) and
(TEST4a.NNP = replace(Replace(Replace(TEST4a.NNp,"A",""),"V",""),"..",".")
WHERE TEST4a.NNp is not null and test.nnp <> "N/A")
******
There are some 20 fields that I need to make this check on. I did not want to clutter my query library wtih that many queries.
Thanks!
FYI.. I'm using access 2003