I looked at the script bluranj suggested and now my problem is this:
I pull records from a database to populate the combo box. I add them using the add() function:
dm.add("text",int);
The problem is if the text has an apostrophe in it I get a runtime error:
Line: 0 Error: Expected ')'.
I encode apostrophes in my database to ' so they do not cause problems with the SQL string going into the database but I guess they are causing trouble here. Any ideas?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.