DATA ENVIRONMENT - in VB, only 3 recordsets open


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: DATA ENVIRONMENT - in VB, only 3 recordsets open

  1. #1
    Andre Guest

    DATA ENVIRONMENT - in VB, only 3 recordsets open


    Hi, i'm using VB6.0 enterprise. I have a question about the data
    environment designer. I created the sql connection to my sql7 server, then
    i created a command.

    That command opens a simple table on my db.

    So that works, i can see the table fields etc when vb loads and puts some
    data on a form.

    So iv'e created more commands - now i have 6. The thing now is that only
    the FIRST 3 commands become "ACTIVE" or opened when the vb form loads, but
    the other 4,5,6 commands (recordsets from the table) are NOT OPEN....

    is there a limit of how many i can have open? and if so, how can i open
    more then 3!

    please send your replies to toandre@usa.net

    thanks!





  2. #2
    Dennis Rehm Guest

    Re: DATA ENVIRONMENT - in VB, only 3 recordsets open


    It's more desirable that people post responses here rather than sending you
    an email. That way everyone can learn by reading the thread.

    Is it possible that the other three commands have parameters? In that case
    you must execute the command like:

    dataenvironment.command param1, param2, ...

    Than your recordset will be available.

    Dennis

    "Andre" <ToAndre@usa.net> wrote:
    >
    >Hi, i'm using VB6.0 enterprise. I have a question about the data
    >environment designer. I created the sql connection to my sql7 server, then
    >i created a command.
    >
    >That command opens a simple table on my db.
    >
    >So that works, i can see the table fields etc when vb loads and puts some
    >data on a form.
    >
    >So iv'e created more commands - now i have 6. The thing now is that only
    >the FIRST 3 commands become "ACTIVE" or opened when the vb form loads, but
    >the other 4,5,6 commands (recordsets from the table) are NOT OPEN....
    >
    >is there a limit of how many i can have open? and if so, how can i open
    >more then 3!
    >
    >please send your replies to toandre@usa.net
    >
    >thanks!
    >
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center