|
-
Apr 25th, 2010, 11:59 AM
#2
Re: Multiple forms (yes ive searched)
If you want the connection to be available in both forms, and others, then I would say that you ought to put the connection in a module, such that it is shared. If you don't want to go that route, then you can create a custom constructor on Form2 that takes a connection as an argument, or you can expose the connection via a property on Form1.
My usual boring signature: Nothing
 
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
|