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
610 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 120

Expert Comment

by:Rey Obrero (Capricorn1)
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 VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
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 retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

770 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