Results 1 to 8 of 8
  1. #1
    crobaseball is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    128

    multi table query to create new records

    I have a multi table query which is built for a form. It looks like this:



    As you can see, I'm looking to have user input narrow down a particular Supplier and Series. My problem comes into play when I go to enter a new record. I want the record to autopopulate with the [SeriesID] and display the SupplierName when a new record is entered. So the form looks like this:



    And I want the SeriesConnectedTo to show 1, with the supplier and SupplierName displaying when the series number is input as a parameter. Thoughts?

  2. #2
    crobaseball is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    128
    I didn't explain this very well. Let's make it more generic: basically I want the parameters to pull up the Supplier/Series information to confirm to the person inputting the data that they have the correct Series they are updating. Then I want to be able to create new records for the correct series.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Maybe use a multi-column combobox for the SeriesConnectedTo input.
    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.

  4. #4
    crobaseball is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    128
    Can I do this for a new record?

  5. #5
    crobaseball is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    128
    Just as importantly, the number of records to scroll through on the combobox will be rather large. Just a shade over 300. Is there a way to input the number to have the combobox pull the right value?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    300 records is not an unmanageable length for combobox. Can type in combobox and AutoExpand feature will match entries. Can also use code to force the dropdown list to show so as user types they see the available matches in the list.
    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.

  7. #7
    crobaseball is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    128
    Got it! Thanks!

  8. #8
    crobaseball is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    128
    This worked great btw . . .

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

Similar Threads

  1. Replies: 2
    Last Post: 05-28-2013, 04:00 PM
  2. Replies: 1
    Last Post: 02-16-2013, 11:36 AM
  3. Replies: 3
    Last Post: 01-24-2013, 02:38 PM
  4. Replies: 3
    Last Post: 10-02-2012, 12:25 PM
  5. Replies: 2
    Last Post: 12-20-2011, 07:33 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