A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do you view an Access table in a form



 
 
Thread Tools Display Modes
  #1  
Old November 16th, 2004, 05:17 PM
BoltonLad
external usenet poster
 
Posts: n/a
Default How do you view an Access table in a form

I would like to view the records in my table from a form. So when I add a new
record in a form and save, this new record is displayed in the table at the
bottom of my form (kind of like a view of the top five rows of the table).
  #2  
Old November 16th, 2004, 06:47 PM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Tue, 16 Nov 2004 09:17:02 -0800, BoltonLad
wrote:

I would like to view the records in my table from a form. So when I add a new
record in a form and save, this new record is displayed in the table at the
bottom of my form (kind of like a view of the top five rows of the table).


Yes... and your question is?

You're viewing the records in your table on the form. You can use the
scroll bar to find any record you wish. You can base the Form on a
Query sorting the data in any way you wish; if you have an Autonumber
(or better, a date/time field defaulting to Now()) and sort the data
descending by that field, you'll see the most recently added record
first. Or, you can add a little VBA code to your form to jump to the
last record on opening the form:

Private Sub Form_Open(Cancel as Integer)
DoCmd.GoToRecord , , acLast
End Sub

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access a table from a form and then lookup the new record JoanneZM Database Design 1 November 4th, 2004 01:09 PM
Table Wizard Does Not Set Relationship if Foreign Key and Primary Key Name Do Not Match Exactly in Case. HDW Database Design 3 October 16th, 2004 03:42 AM
Autonumber Ally H. General Discussion 7 August 27th, 2004 04:51 PM
Strange stLinkCriteria behaviour on command button Anthony Dowd Using Forms 3 August 21st, 2004 03:01 AM
Recordset in subform based on field in parent form Lyn General Discussion 15 June 14th, 2004 03:10 PM


All times are GMT +1. The time now is 03:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.