Results 1 to 3 of 3
  1. #1
    mejia.j88 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228

    Question Saving bound and unbound fields

    i have a form where, after choosing the part number, two other text boxes get filled with information about that part number. These two other text boxes are unbound fields, and when i click the save button on the form; all of the info entered gets saved in one record, and creates a new record for only those two unbound boxes.



    This means all of my information on that form is saved on two separate consecutive records.

    any help on what i think is a simple question that i cant answer?


  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    First of all, why are you saving the info from the unbound textboxes? This sounds like duplication of data. Isn't that data already stored in a parts info table and can always by retrieved in query that joins parts table to the other table?

    Show the code for procedure that is saving the data. Think I know what is happening but show code so can analyse.
    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
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    I second June7's answer. You should NOT be storing this data again if it is already in the original table which the combo box is based on. All you should be storing it the PartNo or the PK of the record (if different).

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

Similar Threads

  1. Saving unbound feild values
    By John Saul in forum Access
    Replies: 1
    Last Post: 06-19-2013, 06:22 AM
  2. Saving unbound fields on form to table
    By lexygirl in forum Forms
    Replies: 4
    Last Post: 07-25-2011, 10:10 AM
  3. Concatenating (2x unbound into bound text box)
    By justinwright in forum Programming
    Replies: 1
    Last Post: 08-19-2010, 08:11 AM
  4. Replies: 3
    Last Post: 08-08-2010, 12:21 PM
  5. Bound a unbound text box to the table
    By Brian62 in forum Forms
    Replies: 1
    Last Post: 11-06-2009, 11:05 AM

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