Display Last Record

DNewman

Registered User.
Local time
Today, 15:45
Joined
Oct 12, 2012
Messages
60
Hi, I am using Access 2010 in Windows 7.

With a continuous form, is it possible to load the form so that the last record has focus but is at the BOTTOM of the screen? :confused:

Pre-Windows 7 and with earlier Access I used Sendkey but I gather this is not a good idea anyway.:mad:
 
Many thanks.
I have tried that but unfortunately this does not work (for me)
It sets the focus to the last record OK but displays it on its lonesome at the TOP of the page. I want it down the BOTTOM of the page ie showing the previous n records.
 
I can't replicate that here in Access '03 :confused: will have a play with Access '10 latter in the day.
 
Many thanks.
I have tried that but unfortunately this does not work (for me)
It sets the focus to the last record OK but displays it on its lonesome at the TOP of the page. I want it down the BOTTOM of the page ie showing the previous n records.

OK I've had a play in Access '10, and I see what you mean. I think the following should do what you are after;

Code:
Set rstSubForm = Forms!YourFormName.Form.Recordset

Do While Not rstSubForm.EOF

   rstSubForm.MoveNext

Loop
 
Excellent, many thanks for your work on this one.
I will try it out when I get a chance
 

Users who are viewing this thread

Back
Top Bottom