Results 1 to 4 of 4
  1. #1
    Navin is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    2

    Access Residents Database

    Hello, I am new to this forum, and to access, so I do not know if something like this has been posted before, if it has I am sorry.



    I am constructing a database for to keep track of all the tenants in a student accommodation, I have a students table related to a tenants table via a 1 to 1 relationship. Now what I need to do is associate a tenant to a room but taking into account the academic year, i.e. 1 tenant can only be associated to one room in 2012 but to a different/same room in 2013.

    Thank you very much

    Navin

  2. #2
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Till someone comes along :
    1) Why do you have a separate Tenants table ?
    2) Can the / a room accomodate more than one student at the same time ?
    3) Perhaps, a junction table, StudentTenantRoom should be looked in to

    Thanks

  3. #3
    Navin is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    2
    Well the reason students and tenants are separated is because the company promotes itself in university fairs and a lot of students sign up but not all follow on to book a room. Also all rooms are single rooms and only accomodate one person, each flat can accomodate up to a maximum of 5 tenants.

  4. #4
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    The way I see it on the fly currently :

    tblStudents
    StudentID - PK
    StudentName
    ......


    tblFlats
    FlatID - PK
    FlatName
    ....

    tblFlatRooms
    RoomID - PK
    FlatID - FK
    RoomName
    .....

    tblTenantsRooms
    TenantRoomID - PK
    StudentID - FK
    RoomID - FK
    OccupancyStartDate
    OccupancyEndDate
    ....

    Thanks

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

Similar Threads

  1. Replies: 5
    Last Post: 05-16-2012, 12:48 AM
  2. Replies: 20
    Last Post: 08-08-2011, 01:34 PM
  3. Denver/Colorado Residents?
    By P5C768 in forum General Chat
    Replies: 6
    Last Post: 07-07-2011, 10:27 AM
  4. Replies: 3
    Last Post: 05-15-2011, 10:52 PM
  5. Migration from Access 2003 database to Access 2007 database.
    By cyclus2 in forum Import/Export Data
    Replies: 1
    Last Post: 09-10-2010, 11:43 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