Forums
This topic is locked
Undefined variable
Posted 12 Aug 2002 17:04:23
1
has voted
12 Aug 2002 17:04:23 Erwin Hendriks posted:
I'm sending a variable in the URL to the specifiek page.I reference it with request.getParamer
Error: "undefined variable"
I also defined a request variable in "data bindings". This did not help either.....
Any suggestions?
Replies
Replied 12 Aug 2002 20:18:01
12 Aug 2002 20:18:01 aegis kleais replied:
Make sure you're using OPTION EXPLICIT (very good for debuggin purposes) And that you DIM each variable you need. This error can come from using a variable that wasn't DIM'd
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 14 Aug 2002 10:15:39
14 Aug 2002 10:15:39 Erwin Hendriks replied:
Thanks for the reply! It was a good tip.
Nakhba
Nakhba