Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer 24 Lessons    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Reservation Input
Scott Axton 
        
5 years ago
I'm still working through lower level Dev courses yet but the outline caught my eye.  
Funny enough I'm working on a "room" reservation system.  One of my requirements is that a person can only book one room on a given day.  (You can't be in two places at once.
Additionally - I'll be in a multi user environment and absolutely have to ensure that a room can't be double booked ( the conflict resolution for me )

Guess I better get popping on the classes!
Richard Rost  @Reply  
          
5 years ago
That's a good one! I'll add it to the list for the next class. Didn't think of that. Everyone else: consider that your homework!
Juan C Rivera  @Reply  
            
5 years ago
I like this thought, can you include an override checkbox?  in case the same person needs several rooms for different events on the same day and time...lest say need two rooms one will be Access Intro  other for Access Expert. or adjoining rooms like hotel.  Mom and dad 1 room, kids get the room next door?  just a thought sounds like a good challenge.

V/r
Juan
Richard Rost  @Reply  
          
5 years ago
Challenge accepted. Sounds like a good project, and a learning experience for all.
Scott Axton OP  @Reply  
        
5 years ago
Richard & Juan - I like the over ride.  I'm working with over 50 different locations with any where from 1 - 5 "rooms" per location.
That makes it real fun to work through.  Not too terrible though with proper table structure and relationships.
Even more challenging is that each one is available only certain days of the week.  Some are 7 days, some M-W-F, some Tues-Thur-Sat., etc.  I'm glad there is only 7 days in a week!
It's definitely been an interesting project.
Richard Rost  @Reply  
          
5 years ago
More great ideas. :)
Juan C Rivera  @Reply  
            
5 years ago
Can you do the product planner into this also I lke the birds eye view of a given start date with end date to see whats available at that given time??????
Am I asking to much?

V/r
Juan
Richard Rost  @Reply  
          
5 years ago
I'll do my best. I'll probably release a version 1.0 first and then you guys can tell me what more to add to it after.
Michelle Maughan  @Reply  
      
5 years ago
Hi Richard
Is there a way to move the reservations to the rental history once the end date has passed?
Cheers
Michelle
Scott Axton OP  @Reply  
        
5 years ago
Michelle -
One thing Ive learned about Access is any time someone asks "is there a way to do x" they are almost always asking the wrong question. The answer to that one is almost always - Yes.

The better question then becomes "how do I".  You pretty much answered that in the question you asked. LOL

For this time, it would be pretty easy (in my mind any way).  First create a copy of the tables you are wanting to archive the history of  - such as ReservationHistoryT copy the structure only.  Modify the new table change the Id field from Auto Number to Long Integer and add a new Id field that is auto number.  

Then it is just a matter of appending ( "moving" ) the data to the history table and then delete it from the original table.

I see you are a Gold Member as well as in the Developer Level so check out the Don't Delete Data Tech Help.
Richard covers this in detail.
Here is the link:   https://599cd.com/blog/display-article.asp?ID=1410


Scott Axton OP  @Reply  
        
5 years ago
Just a quick addendum.  
You might be better off to just mark records "Completed" or what ever you choose to call it.
Unless you're getting to large size wise or there is so much data it is just slowing things way down to have the historical data in the same table, reporting etc is much easier not creating a history table.

History and current tables can be joined in the future using a UNION Query BUT fields have to match exactly and require a pretty advanced level of SQL knowledge.  (I'm not quite there yet)  This hasn't been covered yet in depth in the courses other than the SQL Seminar - Which is a MUST in my opinion.
Something to consider...  I'm sure others will chime in.
Richard Rost  @Reply  
          
5 years ago
I love everything Scott just said. :)
Michelle Maughan  @Reply  
      
5 years ago
H Scott
Thank you and your dead right, stupid question.
I know there is a way, I just don't know how.
I might be in the Developer level but I am certainly not a developer. I just follow along the lessons and sometimes the penny drops. I love Access and Richard's lessons.
I think your right about just marking completed.
I will check out the SQL Seminar, I've got just about all the others.
Thanks again
Michelle
Scott Axton OP  @Reply  
        
5 years ago
Michelle -

Not a stupid question at all.  I was just trying to get you toward the 'critical thinking' part of working things out.
The extended cut of the Don't Delete video above takes you through the how step by step.

Don't get discouraged just keep on keeping on.  The most valuable lessons (and most satisfying) are the ones where you work through the problem and come up with the solution yourself.  It is those sessions that you also remember the best.

Best
Scott
Michelle Maughan  @Reply  
      
5 years ago
Hi Scott
I'm certainly not discouraged. Sometimes I do manage to put the leggo blocks together and it feels great.
Cheers
Michelle
Richard Rost  @Reply  
          
5 years ago
It's kinda like how I differentiate between a Quote and an Order in my regular lessons. It's literally just a y/n field. The only time I ever bother using an archive table is if the primary table is getting HUGE and you don't want to lose the old data, but you need to shrink your database size. I keep ALL old customer correspondence in an EmailT however it was getting close to the 2 GB limit, even as a single-table database file. So, I broke it up and I archive all of the old stuff. I almost never have to go back more than a couple of years for an old email.
Michelle Maughan  @Reply  
      
5 years ago
Thanks Richard, I am just going to have an IsPaid yes/no, which will suit my needs just fine.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 24 Lessons.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/12/2026 10:08:24 PM. PLT: 0s