Results 1 to 8 of 8
  1. #1
    BSJoJaMAx4's Avatar
    BSJoJaMAx4 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2015
    Posts
    48

    Car park database

    Hi all



    I am trying to build a database to manage staff car parking. Im trying to figure out if the following is possible and how it would be done:

    1. Am I best to build a database which shows all the available car parks then assign staff to those spots? Im figuring this would be the best approach as I have 90 spaces in 3 locations and I want to be able to run vacancy reports, check for double ups etc and I figure this is the right way to go about it but Im not sure if it will work and how I would do it.
    2. Every year the car park rate goes up and at different times depending on the location. How would I be able to manage this without going into each record individually. I also want to record the previous rental cost for historical purposes.
    3. At the end of the year I need to run a FBT report for all spots used during that period. I have a start date and end date field but start date may be from a previous time (ie start date 1/1/14 but the report is from 1/7/14 to 30/6/15).

    Or am I best just to continue using excel?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Access can do this.

    If you want historical info, best to use Access.

    For historical info, must save record for each parking space assignment then options for the rate:

    1. save the rate with each assignment record - will probably require some code to accomplish

    2. save only the RateID from Rates table and create a new record in Rates table when the rate changes and flag the old rate record as 'inactive'

    If you need a better understanding of relational database principles, Access functionality, programming concepts, go through some tutorials. Start with http://www.rogersaccesslibrary.com/
    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.

  3. #3
    BSJoJaMAx4's Avatar
    BSJoJaMAx4 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2015
    Posts
    48
    Thanks June but not quite sure what I need to do (I understand but not sure how to implement). Can I work through the things that I need to do with you?

    If I can, I would like to start with the first thing. How can I indicate when a bay becomes free or is used? From what I gather of access, should I build a table with 3 fields (carparklocation, carparknumber and carparkrate) then in the form select the bay based on the car park location previosuly selected?

  4. #4
    JeroenMioch's Avatar
    JeroenMioch is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Location
    Den Haag, Netherlands
    Posts
    368
    I would make a different table for each location. And like June said a different table for the rates.
    Also when you assign staff to each number you might wanna store the vehicle's owner and licenceplatenumers in a seperate table.

    The carpark space you assign a rate to, and then a vehicle.
    In the rate table you can add a datefield to identity what rate was current at the specified date.

    This setup requires some SQL instructions to make it work because you have multiple tables. Like June said some SQL and or VBA coding will be required.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Jeroen, I would not recommend a different table for each location. What if they acquire other locations? Really should be another field in table to identify location.
    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.

  6. #6
    BSJoJaMAx4's Avatar
    BSJoJaMAx4 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2015
    Posts
    48
    Thanks Jeroen - how do I assign the person to the spot? I already capture name, rego etc in a table?

  7. #7
    JeroenMioch's Avatar
    JeroenMioch is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Location
    Den Haag, Netherlands
    Posts
    368
    Are you gonna assign licenceplate numbers or names to empty spots or would "Occupied" or "Vacant" notification suffice ?

  8. #8
    BSJoJaMAx4's Avatar
    BSJoJaMAx4 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2015
    Posts
    48
    I would love to assign names but not sure if thats possible as some spots are shared during the week by people working part time etc so I guess vacant / occupied would need to do it unless you know of a way to allocate multiple names to a bay

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

Similar Threads

  1. Replies: 1
    Last Post: 07-01-2015, 04:18 AM
  2. Replies: 1
    Last Post: 03-21-2015, 11:55 AM
  3. Replies: 0
    Last Post: 09-26-2013, 08:31 AM
  4. Replies: 4
    Last Post: 08-21-2013, 07:08 AM
  5. Yosemite National Park needs your help.
    By Ranger Davis in forum Access
    Replies: 3
    Last Post: 04-22-2013, 03:51 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