PC Review


Reply
Thread Tools Rate Thread

Create a "recall" button?

 
 
=?Utf-8?B?UmljdGVy?=
Guest
Posts: n/a
 
      1st Nov 2006
I'd like to create a recall button that works like the one on a satellite
receiver remote, ie. when I click it I go back to the last channel (record) I
was viewing. Can anyone sketch out how I would do this?
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      1st Nov 2006
You would need to use the Current event of the form to record the primary
key value. If the primary key is editable, you would also need to use the
AfterUpdate; otherwise AfterInsert.

You can then return to that value by using a FindFirst on the RecordsetClone
of the form, and setting the Bookmark.

To remember the pk, you could just use a module-level variable if you just
need 1 level of recall. If you want to be able to keep going back (like the
Back button in a browser), you will need to use an array, or log the records
in a table.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Ricter" <(E-Mail Removed)> wrote in message
news:95E7BA03-732B-4027-9897-(E-Mail Removed)...
> I'd like to create a recall button that works like the one on a satellite
> receiver remote, ie. when I click it I go back to the last channel
> (record) I
> was viewing. Can anyone sketch out how I would do this?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a "Send" button that uses a record's "e-mail" fiel =?Utf-8?B?TkRNYWM=?= Microsoft Access Forms 2 12th Jul 2006 12:48 AM
create a "requery" or "new" button on data access page =?Utf-8?B?TWVnTlNhYmluZU1D?= Microsoft Access Database Table Design 0 18th May 2006 03:44 PM
create category-flag field to specify "work" "personal" "school" . =?Utf-8?B?QmFyayBFYXRlcg==?= Microsoft Outlook Discussion 2 15th Sep 2005 12:53 AM
cannot see "create query in design view" when "queries" button is =?Utf-8?B?U2luZHk=?= Microsoft Access Queries 1 18th Jun 2005 03:57 AM
how do i create a "clear" or "reset" button in a form??? =?Utf-8?B?TXVk?= Microsoft Access Forms 2 14th Feb 2005 11:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:35 AM.