Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 October 14th, 2005, 09:06 AM
ru1 ru1 is offline
Authorized User
 
Join Date: Feb 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Update or CancelUpdate without AddNew or Edit

I have had this problem for a while. What I am attempting to do is when a record is changed, I set a field - DateTimeStamp to Now() in the BeforeUpdate EventProcedure of my form. But, when using a combobox to look up records on my form, I get this error message sometimes and don't understand why.

Does anyone have any ideas?

Ru1

 
Old October 15th, 2005, 02:24 PM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When you you get this error?

Is it agter you select a record to look up in the combobox?

What code do you have in the after update event of the combobox?

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use .CancelUpdate MArgente Access 1 June 17th, 2007 11:25 AM
how to edit and update my access db using asp.net method ASP.NET 1.0 and 1.1 Basics 4 April 25th, 2005 03:03 PM
can't update and addnew data, help plz milk_vanilla Classic ASP Databases 8 December 5th, 2004 07:35 AM
edit-update record- help TnTandyO Classic ASP Databases 37 September 11th, 2003 06:31 PM
edit, update method life_s Ng ASP.NET 1.0 and 1.1 Basics 5 August 19th, 2003 10:45 PM





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