Dec 5, 2002 #1 MeDeeSa Programmer Joined Nov 8, 2002 Messages 14 Location US Has anyone had to send a string parameter containing the & with quotes around it? ie. promptex0="B&C-I" I keep getting a syntax error because the activex viewer cuts the parm off at the B because URL sytax uses the &... Thanks! Dee
Has anyone had to send a string parameter containing the & with quotes around it? ie. promptex0="B&C-I" I keep getting a syntax error because the activex viewer cuts the parm off at the B because URL sytax uses the &... Thanks! Dee
Dec 5, 2002 #2 chrishaw MIS Joined Jan 30, 2002 Messages 111 Location US Try replacing the & with %26 (that's the ASCII code for it) Upvote 0 Downvote
Dec 5, 2002 Thread starter #3 MeDeeSa Programmer Joined Nov 8, 2002 Messages 14 Location US I tried the %26 but it still doesn't work. I actually do a URLEncode on it before I call the viewer... Upvote 0 Downvote
I tried the %26 but it still doesn't work. I actually do a URLEncode on it before I call the viewer...
Dec 6, 2002 Thread starter #4 MeDeeSa Programmer Joined Nov 8, 2002 Messages 14 Location US I ended up ditching the URLEncode in favor of the REPLACE function and it does indeed work. Thanks so much for your help! Dee Upvote 0 Downvote
I ended up ditching the URLEncode in favor of the REPLACE function and it does indeed work. Thanks so much for your help! Dee