|
-
Apr 26th, 2005, 07:10 AM
#1
Thread Starter
Member
Re: Global Variable Declaration In Module
if i declare con and rs outside the function vb gives me error like
"declaration is not allowed here"......
and if i declare them (function or variable) public then also an error message occurs
what should i do?
-
Apr 26th, 2005, 07:12 AM
#2
Re: Global Variable Declaration In Module
 Originally Posted by jalzaaal
if i declare con and rs outside the function vb gives me error like
"declaration is not allowed here"......
and if i declare them (function or variable) public then also an error message occurs
what should i do?
You need to declare them in the declarations section of the module. Where you are declaring them now?
-
Apr 26th, 2005, 07:14 AM
#3
Thread Starter
Member
Re: Global Variable Declaration In Module
at the very first line i have declared them
-
Apr 26th, 2005, 07:17 AM
#4
Re: Global Variable Declaration In Module
Attached is a sample module showing where, in the module, they should go.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|