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 June 13th, 2006, 01:42 PM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default parameterized tableadapter wont save to access dat

i have a tableadapter with sql
select * from table where field=?
i load a record in a form suplying value for field
but after modifying the values in the textboxes
i try to save

bindingnavigator.endedit()
tableadapter.update(dataset)

in the last sentence i get
"no valid update command"

the dataset marks the row as modified
but if i use

dataset.acceptchanges()

the modify flag is reset but changes are not commited to
the database

any ideas?





Similar Threads
Thread Thread Starter Forum Replies Last Post
TableAdapter nkrust ASP.NET 2.0 Basics 2 May 14th, 2011 08:12 AM
Help. How to save and retrieve text from .dat file dextergaisie Pro VB 6 1 May 15th, 2007 11:45 AM
TableAdapter ahamilto Pro VB Databases 0 January 24th, 2006 03:21 PM
Connecting to dat file from access or VB shaiss Access VBA 0 December 31st, 2005 02:21 PM
any new idea about serialize(save) object into dat gooood General .NET 0 July 26th, 2005 09:30 PM





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