Results 1 to 2 of 2

Thread: Opening connection

  1. #1

    Thread Starter
    Hyperactive Member yousufkhan's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    492

    Opening connection

    Hi,
    for a multiuser project in vb and sql how should open a conncetion
    if i open a connection on the first main form is it ok or i ll need to open it on every module ?

  2. #2
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629
    For ADO use a connection object declared public. You have to check its state (or set a boolean flag indicating its connected) before you use it in other forms modules.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width