Results 1 to 4 of 4
  1. #1
    Fabricio Sanches is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    4

    Exclamation I Need Help with storing multiple dates in a single field!!

    Hello Guys !!



    I am facing an issue with an access table.
    I have a field named "Contact Dates" , supposedly that field will store in a drop down list all the dates that the contact with the related company was made, how can I store it ? I am using in the current moment a memo data type to store the data and a comma for splitting them. Any idea how to create a drop down list for storing and displaying all the recorded dates and recording all the new data values as date format.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    You want a multi-value field to hold dates? I don't use multi-value fields because they are so difficult to work with. Multi-value field has to be text datatype. Use a combobox or listbox to select the values. In table design, set the DisplayControl and AllowMultipleValues properties.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    I have access 2003 so do not have multivalued fields. However, even if multivalued fields were available, I would redesign your table structures to have a table specific for Contacts with Companies.

    This would include a ContactDate. You could have multiple Contacts per Company.

    Have you made a data model and normalized your tables? That's the first step.
    You should investigate entity relationship diagramming.
    You should also read up on some of the issues with memo fields.

    Get your tables and relationships designed before you get too deep into the the technical aspects (multi valued fields) of Access.

  4. #4
    crismroman is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2012
    Posts
    7
    You need a new table with Contact Date for each company (many records for each company) . A new data model (as Orange said) One-To-Many (Company -> Company Contact Date)

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 11
    Last Post: 09-27-2011, 07:19 AM
  2. Replies: 5
    Last Post: 08-29-2011, 05:17 PM
  3. Displaying Multiple Values, Storing One.
    By greatfallz in forum Forms
    Replies: 10
    Last Post: 08-02-2011, 01:18 AM
  4. Replies: 3
    Last Post: 08-01-2011, 09:18 PM
  5. Replies: 1
    Last Post: 07-07-2009, 01:00 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums