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 August 2nd, 2005, 08:40 AM
Registered User
 
Join Date: Aug 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default record the time a text box is updated

I would be grateful if anyone out there could advise me how I could auto fill a text box with the time data was entered into another text box on the same form and table. any help offered is greatly appreciated

 
Old August 2nd, 2005, 09:45 AM
Authorized User
 
Join Date: Jun 2004
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use VBA. you can use the After Update event of the edited textbox to trigger code that fills in the current time in the other textbox.

Private Sub editedTextBox_AfterUpdate()
otherTextBox.Value = Now()
End Sub

"Life is a Database"
 
Old August 2nd, 2005, 09:51 AM
Registered User
 
Join Date: Aug 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Simple when you know how!
Thank you






Similar Threads
Thread Thread Starter Forum Replies Last Post
Get last record and display in an Text Box hewstone999 Access VBA 1 March 18th, 2008 06:48 AM
Cannot reference text box added at run time adman Beginning VB 6 5 September 19th, 2007 02:24 AM
How to clear all text box in a form at once time richie86 ASP.NET 1.0 and 1.1 Basics 1 October 31st, 2005 04:57 AM
Reset text box value on new record aware Access 3 October 24th, 2005 02:13 PM





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