Am trying to use thefollowing code to generate a url that is encoded.parts of the code are as follows:
Dim xx As String
Dim lstData List As String
'Replace all &'s with #'s
'lstData(“NEWVALUE”) is equal to “Hugh & Me”
lstData(“NEWVALUE”) = Replace(lstData(“NEWVALUE”),“&”,“#”)
xx = lstData(“NEWVALUE”)
Msgbox("xx " + xx ) ’ Displays “XX Hugh # Me”
lstData(“NEWVALUE”) = Evaluate({@URLEncode(“Domino”;“} + xx + {”)})
I get the following error message:
Error #13 Type mismatch
Can anyone tell me where the type mismatch is and what I am doing wrong?
Please?