J
Jaaz81
OK I need serious help here.
I'm charged with cleaning up duplicated data across names that are not
normalized. Most of the issue is a mix of anacronyms being used and
differences in what the clerks used for separation ("/" vs. "-" for
example). I have a query set up that is in this format (please forgive
the lack of SQL knowledge here)
AKA: dlookup("Name","Imports","Name = '" & WildCard([Name]) & "' AND
Name <> '" & [Name] & "'") Criteria: Is Not Null
Currently this is Function WildCard:
Test = Replace(Test, "-", "*", 1, , vbTextCompare)
Test = Replace(Test, "(", "*", 1, , vbTextCompare)
Test = Replace(Test, ")", "*", 1, , vbTextCompare)
Test = Replace(Test, ".", "*", 1, , vbTextCompare)
Test = Replace(Test, ",", "*", 1, , vbTextCompare)
Test = Replace(Test, "[", "*", 1, , vbTextCompare)
Test = Replace(Test, "]", "*", 1, , vbTextCompare)
Test = Replace(Test, "/", "*", 1, , vbTextCompare)
Test = Replace(Test, "\", "*", 1, , vbTextCompare)
Test = Replace(Test, " ", "*", 1, , vbTextCompare)
WildSymbol = Test
Please tell me there's a more CPU-friendly way to do this, the query
will take more than 15 minutes to run and I need to be able to work
with this. Thanks.
I'm charged with cleaning up duplicated data across names that are not
normalized. Most of the issue is a mix of anacronyms being used and
differences in what the clerks used for separation ("/" vs. "-" for
example). I have a query set up that is in this format (please forgive
the lack of SQL knowledge here)
Name: String fieldFrom Imports
AKA: dlookup("Name","Imports","Name = '" & WildCard([Name]) & "' AND
Name <> '" & [Name] & "'") Criteria: Is Not Null
Currently this is Function WildCard:
Test = Replace(Test, "-", "*", 1, , vbTextCompare)
Test = Replace(Test, "(", "*", 1, , vbTextCompare)
Test = Replace(Test, ")", "*", 1, , vbTextCompare)
Test = Replace(Test, ".", "*", 1, , vbTextCompare)
Test = Replace(Test, ",", "*", 1, , vbTextCompare)
Test = Replace(Test, "[", "*", 1, , vbTextCompare)
Test = Replace(Test, "]", "*", 1, , vbTextCompare)
Test = Replace(Test, "/", "*", 1, , vbTextCompare)
Test = Replace(Test, "\", "*", 1, , vbTextCompare)
Test = Replace(Test, " ", "*", 1, , vbTextCompare)
WildSymbol = Test
Please tell me there's a more CPU-friendly way to do this, the query
will take more than 15 minutes to run and I need to be able to work
with this. Thanks.