Results 1 to 8 of 8
  1. #1
    gtiller is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    6

    Question Populating a Table with Data based on drop down boxes (not queries or lookups)

    I am using Access 2010 (14) 64-bit

    This is a bit of a strange one - I am trying to setup a database in order to demonstrate a tie in between active directory and the HR side of a business.

    As such, I would like to select two fields from drop down menus that reference in Department and Location tables, but use this data to actually Populate the Personnel Records table rather than Query.
    I know this is not normally best practice from a DBA perspective.



    I have this setup already in Filemaker, just through using relationships.
    However, I want to move to Access, as it is more industry standard and much lighter weight, so am trying to find the best way.

    I have attached two pics of my filemaker database, and a zipped copy of my Access file.

    I have never played with Access, so please be patient with me.

    Thanks for your help in advance.
    Last edited by gtiller; 09-06-2011 at 06:30 PM.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Not real sure what the question is. Where are you having trouble?

  3. #3
    gtiller is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    6
    Thanks for your reply!

    I would like to be able to auto populate my street, city and post code fields based on the selecting the location drop down box.

    However, I want to populate the personnel table with the values, rather than simply lookup and display in the form... because I need to pipe the personnel table into another system.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    ComboBoxes have a Column() property that allows you to access each column. It is zero based so Me.cboName.Column(0) is the 1st column.

  5. #5
    gtiller is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    6
    thanks RuralGuy, but not too sure what you mean?
    Are you suggesting that I should make the Street, City, and Postcode fields into ComboBoxes too?
    Sorry for being thick

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Here, I got you started.

  7. #7
    gtiller is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    6
    Thankyou so much!

    This has really helped me get my head around access - you have been a great help.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Glad we could help. Have fun.

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

Similar Threads

  1. Populating table with data from the Web
    By ser01 in forum Programming
    Replies: 8
    Last Post: 06-15-2012, 08:27 AM
  2. Replies: 15
    Last Post: 09-18-2010, 01:19 PM
  3. Populating a form with table data!
    By Extracash in forum Forms
    Replies: 6
    Last Post: 09-13-2010, 05:47 AM
  4. Queries Based On Check Boxes
    By Rubz in forum Queries
    Replies: 7
    Last Post: 05-07-2010, 03:46 PM
  5. Form data not populating in table
    By sabrown in forum Forms
    Replies: 0
    Last Post: 08-27-2009, 08:19 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