|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Reservation AlgorithmHi all,
I am currently developing a reservation management program however i am having trouble finding a way in which i can check whether a table is free at a specific time or not. When the program is setup i will get the manager to enter how many tables there are. There will then be a screen where customers can enter a reservation time and for how many people. I need a way of checking against a list of already stored reservations. How would you recommend going about this? Thanks in advance James "jimmy" <james.herring***@tiscali.co.uk> wrote in Store the table list in the database. Check against the database before you news:1165713628.119567.34730@n67g2000cwd.googlegroups.com: > There will then be a > screen where customers can enter a reservation time and for how many > people. I need a way of checking against a list of already stored > reservations. How would you recommend going about this? reserve the table. You should wrap the SQL call in a transaction to prevent any concurrency issues (i.e. 2 users reserving the same table).
Retrieving info out of a MDB
Commercial copy protection? Need some help... Why I am sick of .Net ERROR: The state information is invalid for this page and might be corrupted Retrieve Hard Disk Serial Number or othe unique PC identifier - XP & 2K Merging Java and VB for alert box How to get the registry key permission using RegistryRight in NET2.0? Creating A Movie Player? Newbie: Assigning values to an array |
|||||||||||||||||||||||