• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB & Making a Booking

 
Sair Legge
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Having read some of the other postings I'm a bit confused about the maintenance of 'available seats'. The db.db file contains the file schedule and the number of available seats however, surely you can't just decrement this seat number as it just lists the day that flight flies on and not the date of the flight.
Whilst I don't really want to maintain multiple db files I can't think how else to handle it.
Any help/thoughts??
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you just decrease the number of seats in the database. Don't try doing anything too sophisticated!
- Peter
 
Sair Legge
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oooo, life suddenly seems so much easier! Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic