Solved

How do I store multiple values, entered by end-user within a single field on form, per record?

Posted on 2013-01-30
3
586 Views
Last Modified: 2013-01-30
Using Access 2010, I am looking for a simple, built-in feature to store multiple values (unpredictable) within a single field per record.  

As an example, Record_ID #100 has a field called VALUE_FIELD.  The form currenlty shows a single field called 'Value Field' to the end user.  The user can enter a single value.  Well, I just discovered that the user must enter multiple values per record, so each value can be searched independently.  The values will look like A123456, A78910, C78236, B12645.  This cannot be a multiple value lookup field because the values changes everyday and are generated by another system.   Is there feature built into Access 2010 to set this up?

I am a novice Access developer and prefer NOT to use custom VBA.  Thanks in advance.
0
Comment
Question by:1Etchedman
3 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 38836900
select the textbox in the design view of the form, then hit F4
select the Other Tab

look for the property  Enter Key Behavior  and select the value New Line in field
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 350 total points
ID: 38837682
With respect, this is a very bad idea: storing multiple values within the same field destroys atomicity and will only make your life harder in the long run.

If you need to support having 1+ detail entries, the best practice is to have a separate, related table hold the detail values, one record per value.

In your application, you would represent this as a subform.
0
 

Author Closing Comment

by:1Etchedman
ID: 38837727
Thank you Matthewspartick. While waiting for a reply,  I created a separate Table called 'ValueTable'.  I then created a  subform based on this table and added it to the Main Form.  Now I can add multiple values to a separate table, along with the RecordID so I know which record hold their related values.  This makes a lot more sense and will allow for straight-forward queries down the road.  

Much appreciated confirmation from you, it was a solid suggestion
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now