Results 1 to 2 of 2
  1. #1
    bwaters is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Oct 2010
    Posts
    1

    Directory Database

    I'm basically setting up a directory management database for a project, i'm a beginner to Microsoft Access and having trouble to create a form relating Directories to Clients.

    Obviously one client can be in many directory, and one directory can have many clients. So I have set up another table relating clients to directories, with their IDs and set up the One-to-Many relationships accordingly.

    My database works fine if I want to link my tables together using the IDs in a form, so i type in my client ID and my directory ID and it works fine. So I think my relationships are fine



    The problem is, i want to link them together with the client name and directory name in a form with a drop down box. So I can select a client name from my client table (in a drop down box), a directory name from my directory table (in a drop down box) and the data will be included in my other table.

    But I can't seem to do it, i know it will be a simple thing that I have to do.

    Hope it's clear and i can get it solved asap!

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    If I am understanding you correctly, then you will have to join your two tables in a query. Make that query the record source for your new form. Now you can create combo boxes to look up the records. Look at this site to learn about combo boxes. Scroll down the page and you will find three tutorials on combo boxes.

    http://www.datapigtechnologies.com/AccessMain.htm

    Alan

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

Similar Threads

  1. Directory Creation Feature Help
    By MWB in forum Access
    Replies: 6
    Last Post: 10-27-2010, 01:50 PM
  2. Active Directory coding
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-28-2010, 08:33 PM
  3. Change image directory
    By amer in forum Access
    Replies: 3
    Last Post: 06-09-2010, 07:01 AM
  4. Make directory or folder
    By thart21 in forum Programming
    Replies: 1
    Last Post: 04-07-2010, 05:37 PM
  5. New directory with the name from field
    By np1111 in forum Programming
    Replies: 14
    Last Post: 02-25-2010, 07:06 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