Open Last form

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Is it possible to open the forms showing the last form on opening...Thanks
Bob
--







..........Jenny Vance
 
What is "last form"?

Is this:
- the form whose name is closest the then end of the alphabet?
- whichever form this user had open last?
- whatever form any user had open last?

Or did you mean that when the user opens a form, you want to display
whatever record thay had open last time they used that form?

For any of those cases, you will need to use the Unloade event of the form
to store the value in a table. Then DLookup() that value and use it to open
the desired form (when the application starts?) or to go to that record (in
the Load event of the form.)

There's an example of saving the value in a table and using it again later
in this article:
Return to the same record next time form is opened
at:
http://allenbrowne.com/ser-18.html
 
Sorry Allen, To show the last record in that form , last being last Record
Number.......Thanks Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top