• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

UrlyBird 1.3.1 viewing existing bookings?

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All,

Just a quick query in my urlybird application i must reuse deleted records as specified by the sun interface delete() method below. The delete method is called when i book record whereby i write the customer id field along with the booked record and i change the delete flag from 0 to 1 making it unavailable. So the question is if i delete the record from the database file along with the customer booking reference how can i view existing records already booked in the ui. My application does not require this but this is simple functionality.
Also if i do reuse existing space for deleted records how does the application record which customer booked a particular room?

Sun interface comment
Deletes a record, making the record number and associated disk storage available for reuse.

Thanks
David
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure a record needs to be deleted after it's booked? It doesn't make a lot of sense to do this.
 
David Winters Junior
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kah,

yes i agree after reviewing the application it would make send to use the update() method on book rather than the delete() method so avoiding this whole issue.

Thanks for the reply
david
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic