Hi i was wondering i someone was crafty enough to think of a better way to write this function, thanks:
Code:
Function Enc(str)
If Isnull(str) Then
Enc=""
Else
Enc=Replace(Replace(Replace(Replace(Replace(Replace(str,"\","\\"),"{","\{"),"}","\}"),"'","\'"),"(","\("),")","\)")
End if
End Function