Feb 6, 2003 #1 sthmpsn1 MIS Sep 26, 2001 456 US I get this error. "Variable 'thedate' hides a variable in an enclosing block." Dim thedate as DateTime = "" & themonth & "/01/" & theyears & ""
I get this error. "Variable 'thedate' hides a variable in an enclosing block." Dim thedate as DateTime = "" & themonth & "/01/" & theyears & ""
Feb 6, 2003 #2 bradlkm Programmer Dec 18, 2002 35 US You'll usually get this error if you have already declared this variable earlier in your function. Make sure you haven't already dim'ed it earlier! HTH Kevin B. .Net Programmer Upvote 0 Downvote
You'll usually get this error if you have already declared this variable earlier in your function. Make sure you haven't already dim'ed it earlier! HTH Kevin B. .Net Programmer