Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 5th, 2004, 07:55 AM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning VB with SQL Server 2000

Hi
I am trying to duplicate Theoron Willis book written for VB 6.0 and SQL Server 7.0. I have gotten as far as chapter 8 where it wants to use nextrecordset command to read three tables selected from SQL. SQL 2000 won't accept nextrecordset or exec in stored procedure but will accept execute so I need to know how to read the data from sqlreader to put each table into its appropriate listbox, I don't know how to work with recordsets in vb.net. (I don't think vb.net uses recordsets). Any help would be appreciated.
Thank you, John

 
Old June 18th, 2004, 02:10 AM
Authorized User
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to myedu2k4
Default

I am not so clear about your qestions. Make it more specific. I think that Vb.net also use recordset.
Someone might have more ideas...

Pheap

 
Old June 29th, 2004, 04:20 PM
tnd tnd is offline
Authorized User
 
Join Date: Jun 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nextrecordset is a VB command. Don't why you would have trouble with it in SQL 2000 but not 7.0

There is no recordset in ADO.NET but you should be able to get comparable results if you tried sqlReader.NextResult






Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning SQL Server 2000 For Visual Basic Develop viper7 All Other Wrox Books 2 February 17th, 2005 02:07 PM
VB.Net to SQL Server 2000 everest VB.NET 4 April 26th, 2004 08:55 AM
Beginning SQL Server 2000 by Robin Dewson jimdooli All Other Wrox Books 0 November 10th, 2003 08:57 AM
VB Net and SQL Server 2000 hdmdev Wrox Book Feedback 1 July 22nd, 2003 04:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.