PC Review


Reply
Thread Tools Rate Thread

Combo Box to refer back to older records

 
 
=?Utf-8?B?c2hlZWxlbg==?=
Guest
Posts: n/a
 
      22nd Feb 2006
Hi All,

I should start by thanking you for taking the time to address my inquiry, as
well as admitting that I have absolutely zero experience w/ programming in
Access. So, if you are kind enough to offer a code or expression to help me
out, please understand that I may need some serious assistance getting
through it.

That having been said, I have a question. I have a form - "Data Entry" -
that has 20+ fields. The database contains over 100 records. I have been
asked to update the database (which I did not originally design) to do the
following:

When the person entering information into a new record in the "Data Entry"
form enters information that has been previously entered, the form should
either:

1. Revert immediately back to the record containing the already submitted
information; or

2. Auto-Fill in all remaining fields in the new record.

My understanding is that I should use a combo box. However, I have only
been able to have the combo box select the field that it is referring to, but
not fill in any of the other fields.

Thank you,
Sean
 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VuIFNoZXJpZGFu?=
Guest
Posts: n/a
 
      22nd Feb 2006
Sean:

What constitutes ' information that has been previously entered'? Is it one
particular field? More than one? All fields?

I suspect, however, that your question may be indicative of a design flaw in
the database. I might be wrong but it does rather sound like there is a lot
of redundancy if there is the possibility of records being near duplicated.
The relational database model eliminates redundancy as far as possible by
means of related tables, each of which represents an entity type, e.g.
Customers, Orders, Order Details, Products. This ensures that each 'fact' is
stored only once and thus avoids inconsistencies arising from 'update
anomalies' which might otherwise occur.

If you can explain what the database is recording we can probably advise you
further, but while its possible to give an answer to your question once the
clarification sought in the first paragraph above is available, we could very
easily be giving you bad advice unwittingly.

Ken Sheridan
Stafford, England

"sheelen" wrote:

> Hi All,
>
> I should start by thanking you for taking the time to address my inquiry, as
> well as admitting that I have absolutely zero experience w/ programming in
> Access. So, if you are kind enough to offer a code or expression to help me
> out, please understand that I may need some serious assistance getting
> through it.
>
> That having been said, I have a question. I have a form - "Data Entry" -
> that has 20+ fields. The database contains over 100 records. I have been
> asked to update the database (which I did not originally design) to do the
> following:
>
> When the person entering information into a new record in the "Data Entry"
> form enters information that has been previously entered, the form should
> either:
>
> 1. Revert immediately back to the record containing the already submitted
> information; or
>
> 2. Auto-Fill in all remaining fields in the new record.
>
> My understanding is that I should use a combo box. However, I have only
> been able to have the combo box select the field that it is referring to, but
> not fill in any of the other fields.
>
> Thank you,
> Sean

 
Reply With Quote
 
=?Utf-8?B?TmV0d29ya1RyYWRl?=
Guest
Posts: n/a
 
      22nd Feb 2006
try this rough draft to see if does what you want:

a. create new form in design view with Table selected for it to be based on
when you open that.....

b. your table field names will pop-up in a window and highlight drag all
those over into the form.

c. next select ComboBox from the ToolBar and put that on the form and when
the wizard starts for it be sure to select the third lowest radio button
option that it be based upon that same table....

c2 ....select whatever field from that table you want the combobox to refer
to....

Now go to form view and you should see that the combobox drop down will
bring up the record you select & show in the text boxes you dragged over....

it should also work with typing into the combo box with auto complete....

then tweak from there.....
--
NTC


"sheelen" wrote:

> Hi All,
>
> I should start by thanking you for taking the time to address my inquiry, as
> well as admitting that I have absolutely zero experience w/ programming in
> Access. So, if you are kind enough to offer a code or expression to help me
> out, please understand that I may need some serious assistance getting
> through it.
>
> That having been said, I have a question. I have a form - "Data Entry" -
> that has 20+ fields. The database contains over 100 records. I have been
> asked to update the database (which I did not originally design) to do the
> following:
>
> When the person entering information into a new record in the "Data Entry"
> form enters information that has been previously entered, the form should
> either:
>
> 1. Revert immediately back to the record containing the already submitted
> information; or
>
> 2. Auto-Fill in all remaining fields in the new record.
>
> My understanding is that I should use a combo box. However, I have only
> been able to have the combo box select the field that it is referring to, but
> not fill in any of the other fields.
>
> Thank you,
> Sean

 
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
Access 2007, refer to a combo in another combo on the subform Laursen.Aarup Microsoft Access Forms 3 2nd Apr 2009 12:18 PM
How do I refer back to the last record in a table =?Utf-8?B?SnVycmFzaWN3YXk=?= Microsoft Access Form Coding 5 24th Apr 2006 08:24 PM
Trying to get a column of numbers to refer back =?Utf-8?B?T3ZlcmJha2Vk?= Microsoft Excel Worksheet Functions 1 30th Dec 2004 07:36 PM
How do I set upa formula to refer back to that box to get the sum. =?Utf-8?B?T3ZlcmJha2Vk?= Microsoft Excel Worksheet Functions 1 30th Dec 2004 07:29 PM
How to configure to refer back to root DNS Steven D. Lam Microsoft Windows 2000 DNS 2 16th Apr 2004 07:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:49 PM.