Hi
I just noticed that my code was modified by the forum.
The Replace statement is replacing a single quote for backslash single quote. If one of the user's names had a single quote in it, that would cause a
JS error.
Replace(objRs.Fields(1).Value, "'", "\'")
Quote:
Originally posted by srivalli9
thanks Bagload.
it worked!!!!
|