Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Booking and database file format

 
Gilles Marceau
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

i am starting to work on the SCJD assignment and i am a bit puzzled
about one feature requested at the GUI level : it says the User Interface
"allow the user to book a selected record, updating the database file
accordingly". But in the database file format, there is no field like
"availability" that could be updated by a client during its booking
transaction.
Should i reuse another field to save in the record the fact that it is
booked ? (it's feasible) Or am i misunderstanding something ?

Thanks for your help.

Gilles
 
Herman Schelti
Ranch Hand
Posts: 387
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Gilles,

you can use the owner field for that;

(from the instructions.html)
The id value (an 8 digit number) of the customer who has booked this


Herman
 
Gilles Marceau
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help,

i had missed that point in the instructions. You are right, this
is the field to use during the booking process.

Thanks again,
Gilles
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic