Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2010
    Location
    Springfield, IL
    Posts
    25

    How do you store multiple file locations in a text box

    I've implemented on a form a Command Button that opens up a dialog box to allow the user to find a photo and once the photo is selected, it stores the location in a text box, (not the photo, just the location). I need to be able to allow multiple photo's to be store in the same text box. That was one of the benefits of using an Attachment data type but based on lots of comments, I steered away from that.




    Any ideas?


    Thank's in advance.

  2. #2
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    Use a listbox or combobox instead.

  3. #3
    dreday's Avatar
    dreday is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    58
    You can always use a delimiter too like a semi colon between each file path. Then if you needed to retrieve the locations from the text box just read the string character by character up until you hit a semi colon (or whatever character you choose)

  4. #4
    Join Date
    Jul 2010
    Location
    Springfield, IL
    Posts
    25
    Thanks. I created a separate table and now when the user clicks on a button to add pictures, it opens a Pop-up form based on the separate table, (in Continuous mode), and multiple pictures/files can be added. I appreciate the feedback. Thanks!

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

Similar Threads

  1. Replies: 5
    Last Post: 12-01-2011, 05:38 PM
  2. Replies: 12
    Last Post: 12-01-2011, 10:28 AM
  3. Hve text combo box values but store integers in field
    By accesshelpasker in forum Access
    Replies: 9
    Last Post: 10-28-2011, 10:49 AM
  4. Replies: 0
    Last Post: 01-26-2011, 05:51 PM
  5. Replies: 1
    Last Post: 01-21-2010, 02:36 AM

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