?
Solved

Moving to last record in a bound form in Access

Posted on 2003-03-19
2
Medium Priority
?
227 Views
Last Modified: 2008-03-17
I have a continuous form bound to a table in Access. When the form is loaded or opened, I would like it to be positioned at the last record not the first. I still want it to be sorted in ascending order. I tried using: 'DoCmd.GoToRecord "Job", acLast' where Job is the table name it's bound to, but when I try using the tables name as the object name an error msg tells me the table isn't open. I also don't know inside which event it would need to be placed.

Thanks in advance for any help on this.
0
Comment
Question by:Mendy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 200 total points
ID: 8171122
In the Form's OnOpen event, just use:
DoCmd.GotoRecord ,,acLast
0
 

Author Comment

by:Mendy
ID: 8171370
Thanks Shane! It worked.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question