aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes ticket booking problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "ticket booking problem" Watch "ticket booking problem" New topic
Author

ticket booking problem

Hal Wayne
Greenhorn

Joined: Jan 16, 2003
Posts: 3
In the booking window, how could you recongnize the specific id associated with each flight? I guess my question is how to associate the record number as a hiden field in the table? Do we need to create a hashtable (record number,flight number pair)? Where should I implement this hashtable? Thanks in advance!
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Actually if you use the DataInfo class there is a method to return the Record Number.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Bernhard Woditschka
Ranch Hand

Joined: Sep 16, 2002
Posts: 89
You could use the Flight Number to recognize the indiviual rows (primary key). Later, when it comes to reservtion lookup the record in the database for this flight number.
Bern
[ January 17, 2003: Message edited by: Bernhard Woditschka ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ticket booking problem