-
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! 
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks