Wrox Programmer Forums
|
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 November 28th, 2006, 01:51 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

That depends. What kind of database, and how are you accessing it?

Basically, open a connection on the SQL database, then open a recordset on the transaction table, declare enough variables to hold all the information you want to pass, then get the info, mostly like this:

Dim sOldFName, sNewFName As String

sOldFName = Me.FName.OldValue
sNewFName = Me.FName.Value

etc.

Then pass the values to the recordset using AddNew and Update.

Exact code depends on ADO v. DAO, and how you are referencing the database, either ODBC or Provider.

HTH



mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get Log to write the Log.txt file jnbutler BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 3 July 31st, 2007 04:04 AM
user log on nutrino Classic ASP Professional 1 April 7th, 2006 08:19 AM
AppException Class -Log Error to Event Log bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 7 December 7th, 2004 01:01 PM
Chnaging user details andy11983 Classic ASP Basics 5 April 25th, 2004 01:24 PM
I cannot edit user details hdoldur Classic ASP Databases 0 April 3rd, 2004 10:11 AM





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