best training access course - recording date and
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » best training access course - recording date and time

best training access course - recording date and time

resolvedResolved · Low Priority · Version Standard

replyReply Tue 23 Oct 2007, 13:50Delegate Sabine said...

Sabine has attended:
Access Intermediate course

recording date and time

How can i record when a comment for a record is made, and how can i update this so that the history is kept but the most recent item is shown?

For upcoming training course dates see: Pricing & availability

replyReply Tue 23 Oct 2007, 14:37Trainer Amanda said...

RE: recording date and time

Hi Sabine

Thank you for your question.

As you can only store one value per field, what you could consider doing is creating a separate table to store comments and the date and time they were entered.

This table could then be linked to records in your existing table by creating a relationship between the existing table and the Comments table.

To view the comment history, you would need to create a subdatasheet in a table or a subform in a form or a query.

To show the last comment, use the LAST function.

I hope this helps.
Amanda

 

Access tip:

Open A Combo Box Automatically

This is helpful if users need to enter large amounts of data. There are two ways to open ComboBoxes when they get the focus by using the tab keys.

When the ComboBox gets focus:

Press Alt + Down Arrow on the keyboard

For it to happen automatically, needs a bit of coding:

1. Add a combo box and a text box control to the form
2. Set the combo box's On Got Focus property to the following event procedure:

Private Sub ComboBoxName _GotFocus()

Me!ComboBoxName.Dropdown

End Sub


3. Open your form in Form View and use the TAB key to make sure it works.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard