Feb 6, 2003 #1 sthmpsn1 MIS Joined Sep 26, 2001 Messages 456 Location 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 Joined Dec 18, 2002 Messages 35 Location 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