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 May 10th, 2007, 12:53 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Glad that fixed the problem.

Here is the thing, back to your original problem, the way that you have your method setup right now, it will execute everytime you make a call to it. (Which I am sure you know)

Here is the thing though, to do what you are asking can't be done with 1 update statement UNLESS all columns of all rows are being updated with the same data.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old May 10th, 2007, 03:18 PM
Authorized User
 
Join Date: Dec 2006
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post
Default

Oh, yes ... I found that out! (the updating all rows thing)

I added the appropriate WHERE clause and it works much better.

Thanks again,
Karen






Similar Threads
Thread Thread Starter Forum Replies Last Post
Muenchian Grouping on individual nodes in xslt1.0 sudhish.sikhamani XSLT 9 July 1st, 2008 10:32 AM
Missing Individual aspx Files adamcherochak BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 March 3rd, 2008 02:30 PM
updating the table from the list view columns Yasho VB Databases Basics 2 July 31st, 2007 02:06 AM
help coloring individual listview item instead al method Visual C++ 1 August 1st, 2006 08:25 AM
Updating Multiple columns from subquery r_ganesh76 SQL Server 2000 2 December 10th, 2004 12:39 AM





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