Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    No, binding listbox to field will not work. Purpose of this listbox is to aid user in creating multiple records, not to display value from a record. In fact, if the form is bound to the destination Fulfillment table, will not work properly - as you discovered you get an unnecessary record in table if other controls are bound to fields.



    As already noted, further data normalization might be better than this VBA approach.
    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.

  2. #17
    warren0127 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    May 2015
    Posts
    69
    June, thanks for the feedback. I originally had the form setup to where the user can choose 1 product for each Fulfillment - which worked out fine. But then, the new requirement came out that the user should be able to select multiple products for each fulfillment in the form itself without having to do one at a time - this is where it became a challenge in which I do not know another way to normalize the data without appending with the SQL INSERT. If there is another way of doing this without VBA, I would certainly be interested.

    Thank you,
    - Warren

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Only way without VBA would be additional normalization - a table for the repetitive fulfillment info and then a related table for the product selections. Alternative code with the current Fulfillment table would be to carry forward the repetitive info into new record by programmatically setting the DefaultValue property of each control. https://www.accessforums.net/showthread.php?t=38447 In either case select one product from combobox per record on a bound form.
    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.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 16
    Last Post: 03-31-2020, 10:19 AM
  2. Replies: 2
    Last Post: 11-16-2014, 08:00 PM
  3. how to de-select items in a listbox
    By CharbelKahi in forum Programming
    Replies: 1
    Last Post: 06-23-2014, 07:05 AM
  4. Replies: 2
    Last Post: 05-21-2014, 01:16 PM
  5. Replies: 12
    Last Post: 01-08-2014, 05:15 PM

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