473,585 Members | 2,512 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Record retrieval question

I have a lengthy form containing several fields of data. Each record
that is entered is given a record identification number. Sometimes the
user gets midway into the form and has to stop to display another
record. The current unfinished record is saved and retrieved later
using the lookup field built into the form. My question: Is it
possible to build into the form a "retrieve" button that could pull
this unfinished record automatically using the record id number and
require no user input? I know the easiest solution is having the user
write down the record id number and look it up using the lookup field
but sometimes the users forget to write down the record id number which
causes them to have to search through hundreds of records which is very
time consuming. Thanks.

Sep 8 '06 #1
1 1420
Ryker wrote:
I have a lengthy form containing several fields of data. Each record
that is entered is given a record identification number. Sometimes the
user gets midway into the form and has to stop to display another
record. The current unfinished record is saved and retrieved later
using the lookup field built into the form. My question: Is it
possible to build into the form a "retrieve" button that could pull
this unfinished record automatically using the record id number and
require no user input? I know the easiest solution is having the user
write down the record id number and look it up using the lookup field
but sometimes the users forget to write down the record id number which
causes them to have to search through hundreds of records which is very
time consuming. Thanks.
A thought..

Are you handy with VBA?

Add a "Remember" command button to the form. Behind this write some code
that stores the current record ID in a form-level variable.

Add a "Recall" (Retrieve) command button to retrieve the record saved in
the variable.

You might want some extra code to ensure Recall isn't available until
the variable is set, and Remember isn't available unless a real record
is currently displayed.

Alternatively you could duplicate the entire form object and provide a
means of opening the duplicate, but this seems like overkill.

I'm interested to know what ideas others have as this could be handy for
me as well.

--
Smartin
Sep 9 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
12482
by: Rick | last post by:
I am moving throught a set of records, my next works great but previous move to the first record. Also what is the best way to check and see if it is the first or last record in the set. if($move == "Next") { $next_rec = "select * from people where contactid > $rec_id limit 1"; $results = mysql_query($next_rec); $row =...
0
1608
by: Novice programmer | last post by:
I have the following code snippet: sql = "select * from customer where code = 'abc'" conn.BeginTrans With rs .Open sql, conn, adOpenDynamic, adLockPessimistic, adCmdText If Not .EOF Then ' --- Force edit mode --- !Code = "def"
1
1645
by: Lyle H. Gray | last post by:
We load a table from a text file using Data Transformation Services. The source file is already sorted by primary key order. After the DTS load, the default retrieval order on the target table (select * from targettable) appears to be random. I know that theoretically the retrieval order from a SELECT statement isn't guaranteed, but this...
5
4193
by: Peggy Wu | last post by:
dear all, I am a programmer ,coding in IBM COBOL and the DB is DB2 V6 on OS/390. As below, for the performance issue, Does anyone know which one is better ?? To get a record that field A has a maximum value, either I could declare a cursor to select the qualified records order by field A descending, then fetch the 1st record. (exec-sql
4
1473
by: jsavoor | last post by:
Hi Everyone I am new to this forum and ASP programming in general. I am writing a warranty registration system and have written the data retrieval modules successfully. I am having problems with the ADD RECORD module. I am using a ACCESS 2003 MDB file. I do not get any error at all... but the new record just is not created. <% ...
12
3924
by: grace | last post by:
i am wondering why my database retrieval becomes too slow...we set up a new server (ubuntu, breezy badger) machine where we transferred all our files from the old server.. Our new server uses Asus p5pe-vm motherboard and an Intel Pentium D 3.0Ghz processor, compared to the old one where we uses asrock motherboard and AMD Duron. Both has the...
0
4391
by: JosAH | last post by:
Greetings, Introduction At the end of the last Compiler article part I stated that I wanted to write about text processing. I had no idea what exactly to talk about; until my wife commanded me to "clean up that mess you never use anyway and please dump the rest of it in the attic or simply throw that junk away". I want to make a...
2
1488
by: atrottier | last post by:
I have a subform that displays items that are part of a component breakdown of the item that is currently displayed on the main form. My user would like to be able to double click on an item in the subform and have the main form then populate with that items information. So the question is: Is there any way to retrieve the record number of the...
0
3490
by: JosAH | last post by:
Greetings, welcome back; above we discussed the peripherals of the Library class: loading and saving such an instantiation of it, the BookMark interface and then some. This part of the article discusses the internals of the Library class a bit more. Sections again A previous article part showed how Sections work, i.e. a group Section...
0
7908
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6606
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1175
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.