473,659 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Room Booking Database

Hi folks

I teach. At school, four IT rooms are booked using a paper based outline
timetable. Completing it is easy but basic and impossible to ensure
completion of all fields (name, year group, subject and software) and
analysis of bookings is a nightmare.

I just fancied pottering with Access, which I am pretty familiar with, to
see if I could create a means of booking a room using a database. Locking a
booking would then be a problem to overcome and creating a means to analyse
the bookings should be easy.

I've scanned the internet for resources and ideas and have come up blank.

Anyway here have any ideas?

Appreciatingly yours :-)

Andy
Nov 12 '05 #1
2 8225
Andy wrote:
Hi folks

I teach. At school, four IT rooms are booked using a paper based outline
timetable. Completing it is easy but basic and impossible to ensure
completion of all fields (name, year group, subject and software) and
analysis of bookings is a nightmare.

I just fancied pottering with Access, which I am pretty familiar with, to
see if I could create a means of booking a room using a database. Locking a
booking would then be a problem to overcome and creating a means to analyse
the bookings should be easy.

I've scanned the internet for resources and ideas and have come up blank.

Anyway here have any ideas?

Appreciatingly yours :-)

Andy

This is just a general outline of a start.
Create a Names or Student table.
Create a Software table
Create a Subject table.
Create a rooms table if you think you will expand the room count.
Create a booking table. This table would have a booking id (primary
key), the nameid, the software id, the subject id, the date, the room
number, the time start, the time end.
Create a table to hold the room number, the booking table id, and time
increment.

Create a form to enter software using Software table
Create a form to enter subject using subject table
Make the subject form a subform of the software table (I assume you have
multiple subjects for each software piece)
Create a booking form. Use a combo dropdown where you can add a student
on the fly or select an existing student. Use a combo dropdown to
select the software. Create a combo to select the subject. Requery the
subject combo when the software is selected. Create fields to enter the
date.

If the user has entered all of the data up to this point in the booking
form, all that is need is to select the room and enter the start and
ending times. But you don't want a conflict in book times so you need
to see what times are available for each room for that day. And this is
the tricky part.

I would probably use a listbox to display the room numbers and another
listbox to present the current bookings. When a room number is
displayed, the bookings for that day for that room would be displayed.

The listbox for bookings would display the time and the person. I would
create a temp table. It would have a record for each time increment
8am, 8:30am...4:30pm . The person could click the (usually empty) time
slots to be filled in for the person. Once the times are selected, a
save button is pressed. The program would then scan the listbox and
create records in a schedule table that has the same structure as the
temp table.

You would need to be proficient in list boxes to use this method. ANd
you would need to permit deletions (this would remove the booking record
and all times assigned to the booking). You might have assigned a
person to 8am-9am but if you click the 8:30am row, the other person
would now have the 8-8:30 slot. IOW, deleting and updating will be your
PITAs.

I have no idea how proficient you are with Access. It may be beyond
your skill set. If you can make it up to the point before I mentioned
the list boxes, write back for more suggestions.

Nov 12 '05 #2
wi*****@dsl.pip ex.com (Andy) wrote in message news:<a8******* *************** ***@posting.goo gle.com>...
Hi folks

I teach. At school, four IT rooms are booked using a paper based outline
timetable. Completing it is easy but basic and impossible to ensure
completion of all fields (name, year group, subject and software) and
analysis of bookings is a nightmare.

I just fancied pottering with Access, which I am pretty familiar with, to
see if I could create a means of booking a room using a database. Locking a
booking would then be a problem to overcome and creating a means to analyse
the bookings should be easy.

I've scanned the internet for resources and ideas and have come up blank.

Anyway here have any ideas?

Appreciatingly yours :-)

Andy


Andy,
before you go nuts trying to sort this out, check out Albert Kallal's
website - he has notes on the subject since it's been asked so many
times. Almost all of the following sound like tables:
Student(Student ID, name, year group...)
Subject(Subject ID, Subject,..)
Software(Softwa reID, Title,...)
Room(RoomID, Floor, RoomNo, Capacity...)

Then your bookings table would look something like this:

Reservations(Ro omID,StudentID, ResStart,ResFin ish)

then for each room you would allow [Capacity] reservations within a
given time frame. I would be inclined to do math on the StartDate and
EndDate - just more flexible that way...
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
18672
by: Dave Robinson | last post by:
I was wondering if anyone could help me with a problem I'm having. I've been using Dreamweaver to create a hotel booking system for a friend of mine, using MySQL (version 4.0.21) and PHP 5. The bit I'm struggling with is checking the Room Availability based on dates that are typed into a textfield and then returning a list of the available rooms on the next page. The three tables involved in this function are: CREATE TABLE `room` (
4
2437
by: Grant | last post by:
Hi I have a database which logs the usage of rooms. Some booking are entered well in advance, and some have stays of more than six months. I would like to ensure that rooms which have been booked cannot be booked again, i.e. cannot be booked in that date range Any help will be much appreciated
4
3245
by: WiseOwl | last post by:
Hi folks I teach. At school, four IT rooms are booked using a paper based outline timetable. Completing it is easy but basic and impossible to ensure completion of all fields (name, year group, subject and software) and analysis of bookings is a nightmare. I just fancied pottering with Access, which I am pretty familiar with, to see if I could create a means of booking a room using a database. Locking a booking would then be a...
2
699
by: Andy | last post by:
Hi folks I teach. At school, four IT rooms are booked using a paper based outline timetable. Completing it is easy but basic and impossible to ensure completion of all fields (name, year group, subject and software) and analysis of bookings is a nightmare. I just fancied pottering with Access, which I am pretty familiar with, to see if I could create a means of booking a room using a database. Locking a booking would then be a...
5
2828
by: Steven Blair | last post by:
My problem is trying to calcuate whether a room is booked during a date period. I have a table with two columns (Start and End date). I need some SQL code to calculate whether a room is booked during a date range. e.g.
25
2853
by: NDayave | last post by:
How do, I have a access 2000 booking database with Personal Details, Outing Details and the Bookings in three tables: tblBookings -- -Autonumber, -Number, -Number, -Currency, -Yes/No, -Yes/No tblPersonaldetails -- -Autonumber, etc tblOutingDetails -- -Autonumber, etc
5
2745
by: Armenante | last post by:
Hi, I am creating a database for my A level project and i am stuck on the validation for the booking part of the database, and was just wondering if anyone could help me out? It is a plumbing booking and stock database in the booking section I have start date, start time and duration field. I want to add validation on the start date field as an after update event. Any ideas would be extremely helpful. Thank you. Tom
5
2810
by: Peter Sutton | last post by:
Greetings all, My booking system includes 2 tables: tblRooms with the key field RoomID, and some other fields AND a tblBooked Rooms with a number of fields including RoomID and BookedDate. For a given date range, I can generate a vacant room report by generating a temporary table of all the Rooms and BookedDates using a cartesian join, and then either deleting the booked rooms, or by
4
2672
by: phill86 | last post by:
Hi, I am trying to represent on a form time slots I have re-created the look of an outlook calendar on the form I have a table with the calendar bookings start and end time and there could be any number of bookings in a day. The following code represents the column for the first day of the week (monday) and formats the text boxes accordingly if the room is booked. This all works fine but I have to have this code again to represent the...
0
8427
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8332
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.