+ Reply to Thread
Results 1 to 4 of 4

How To Create Relationships

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007
    Posts
    12

    How To Create Relationships

    Hello Everyone,

    I am trying to create a vacations database and need some help. I have created a employees table & vacation table. Emp table contains first & last name of emp and adding dept & leader as well. Vacations table will have the start date,end date, start time, end time , hours. I then need to create a form where users will go and enter the information and it will go to the appropriate table. Under relationships i put the join type as for all vac id show emp but it doesnt work the way i want it to. any suggestions?
    Last edited by mveda2004; 02-12-2012 at 07:09 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,983

    Re: Access Database

    I am a little confused by your statement about the relationship. It would be helpful if you listed the fields for each table, the primary keys and the foreign keys and which fields you are joining your two tables on.

    Your statement
    but it doesnt work the way i want it to
    doesn't tell me anything. How is it working? What do you want it to do? Some sample data would be helpful also. Otherwise we are trying to do mind reading here and your brainwaves are not getting across the border.

    Give us some information so we can help.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    01-26-2012
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Access Database

    sorry.. i'll try to be more clearer.
    For every employee there can be multiple vacation requests and those requests should roll up under that one person. The inputs are going through be through a form that comprises of both tables. When I am inputting data into the form it replaces the data that was there previously, it does not add another line. So for ex: my first request i do john then i do scott, scott's data replaces john.

    I have attached the database that I am working on.
    Attached Files Attached Files

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Access Database

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1