Wrox Programmer Forums
|
BOOK: Access 2010 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2010 Programmer's Reference by Teresa Hennig, Rob Cooper, Geoffrey L. Griffith, Jerry Dennison; ISBN: 978-0-470-59166-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2010 VBA Programmer's Reference 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 26th, 2014, 03:35 PM
Registered User
 
Join Date: Oct 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter7 Updating Records

I have a problem executing the code page 191

Set rst = db.OpenRecordset(``tblMyTable˝)
With rst
.FindFirst ``CustomerKey = `` & Me!CustomerKey
If Not .NoMatch Then `we found the record
.Edit
!CustomerName = ``ABC Construction˝
!CustomerStatus = 1
.Update
End If
End With

There isnt any database given with table "tblMyTable" anywhere in the example code given. If anyone knows something, let me know.





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in updating records & finding records naveed77 VB Databases Basics 1 January 16th, 2007 12:12 PM
problem in updating records & finding records naveed77 VB How-To 1 January 16th, 2007 12:10 PM
Updating Records marmer Classic ASP Databases 1 August 23rd, 2003 11:12 AM
Updating records bspradeep Classic ASP Databases 0 August 20th, 2003 09:27 AM
Updating records help bspradeep Classic ASP Databases 0 July 7th, 2003 10:51 PM





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