Access VBA, unescaped single quotes, Replace(), and null
问题 Working on a script in Microsoft VBA to take a massive flat database and split it between about 20 different tables. The script consists mainly of opening a table, checking every row in the flat database to make sure it's not a duplicate, then adding the necessary fields. Repeat for every table. The first time I ran it everything was going well until I tried to process the name O'Malley . I think it's obvious what went wrong. A quick search on Google turned up this related StackOverflow post.