G
Guest
Relative newbie to Access VBA here -- what's the best way to search
throughout a table and replace a text string with another string that can
vary and will be supplied by the code (in my case, the filename that some
text was just imported from)?
I investigated Update Queries, but they seem to either need a definite
string to replace with, or require user interaction (unless there's a way to
supply the string via code at the time the Update Query is called...?).
I know the Replace() function is a possibility (albeit perhaps a slower
one), but I don't yet know how to specify each field of each record in a
table as a string to do the Replace() comparison. My record set will be
about 100,000, at it's max, so speed is not necessarily a significant factor.
Can anyone point me to the easiest method of doing this? Thanks.
throughout a table and replace a text string with another string that can
vary and will be supplied by the code (in my case, the filename that some
text was just imported from)?
I investigated Update Queries, but they seem to either need a definite
string to replace with, or require user interaction (unless there's a way to
supply the string via code at the time the Update Query is called...?).
I know the Replace() function is a possibility (albeit perhaps a slower
one), but I don't yet know how to specify each field of each record in a
table as a string to do the Replace() comparison. My record set will be
about 100,000, at it's max, so speed is not necessarily a significant factor.
Can anyone point me to the easiest method of doing this? Thanks.