2
24t42
Hi,
I have inhertied a database that is full of inconsistencies. I would
like to correct that. I know that I can apply a input mask but that
will be only for new records. I need to fix the existing data.
For example, with the home phone number some data is stored as
xxxxxxxxxx and others as (xxx) xxx-xxxx. I would like all the data to
be in the 2nd format but I am having some problem setting up the
update query.
table: tblNamelist
field: Home
The UPdate query is:
UPDATE tblNameList SET tblNameList.Home = "(" & Left([Home],3) & ") "
& Mid([Home],4,3) & "-" & Right([Home],4)
WHERE (((tblNameList.Home) Is Not Null));
Any help will be appreciated. Thanks is advance.
I have inhertied a database that is full of inconsistencies. I would
like to correct that. I know that I can apply a input mask but that
will be only for new records. I need to fix the existing data.
For example, with the home phone number some data is stored as
xxxxxxxxxx and others as (xxx) xxx-xxxx. I would like all the data to
be in the 2nd format but I am having some problem setting up the
update query.
table: tblNamelist
field: Home
The UPdate query is:
UPDATE tblNameList SET tblNameList.Home = "(" & Left([Home],3) & ") "
& Mid([Home],4,3) & "-" & Right([Home],4)
WHERE (((tblNameList.Home) Is Not Null));
Any help will be appreciated. Thanks is advance.