Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics 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 September 23rd, 2005, 04:47 AM
Registered User
 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with VB SQL Server 7.0

I'm working through the Beginning Visual Basic SQL Server 7.0 book, and have stumbled across a problem with one of the exercises in chapter 10.

I'm trying to add the stored procedure for up_parmins_employer_information but SQL keeps giving me an error.

It's falling over on: Select @Continue = 1
The error message is: Msg 156, level 15, state 1, procedure up_parmins-employer_information, line 21 incorrect syntax near the keyword 'Select'

Can anyone help please? :(

 
Old September 23rd, 2005, 05:04 AM
Registered User
 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no worries sorted it out, there was a , after the last declare.

 
Old September 23rd, 2005, 09:58 AM
Registered User
 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HELP STILL Struggling with Chapter 10!!

I'm now having problems with the phone number and area code's not populating on the address details, when you action the cboLastName_Click()

I have the line's of code as per the book...

'Load phone number fields
   txtAreaCode.Text = m_objRSAddress!Area_Code_SI
   txtPhoneNumber.Text = _
      Format(m_objRSAddress!phone_number_in, "###-####")

but when you hover over m_objRSAddress!Area_Code_SI I'm getting the error message:
"Item cannot be found in the collection corresponding to the requested name or ordinal." The textboxes for Phone number and area code just aren't populating. What is wrong??

Thanks







Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Express and SQL server on remote server questio HoosierDaddy61 Visual Basic 2005 Basics 0 February 22nd, 2006 11:27 AM
Help required with VB SQL Server 7.0 Book.. danfeather SQL Server 2000 1 September 29th, 2005 08:47 PM
VB.Net to SQL Server 2000 everest VB.NET 4 April 26th, 2004 08:55 AM
Problems connecting SQL Server from VB 6 mikko SQL Server 2000 6 February 12th, 2004 05:37 AM





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