By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,474 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,474 IT Pros & Developers. It's quick & easy.

Airline Reservation in VB6

P: 2
Howdy All,

I recall seeing a similar post a while back, but I'm not an expert VB programmer so I'm still not clear...

For my VB6 class, I've got to code a basic reservation system. Let's say that the plane has 6 passenger seats total via 2 columns (A and B for arguements sake) and 3 rows per column. An array here, right?

We have to display a seating chart, which I could probably setup with labels and set the caption property with green if open, red if taken.

We have to collect passenger details when making a booking and store this info in an Access database (I'll use the ADO control for this.) including the assignment of a seat number. E.g.: Fname, Lname, SeatNo.

When the seat no. is assigned, the seating chart has to be updated as well, which presents me with a little prob, I can store data in the array but how do I xfer this data into fields in an Access dbase? When I exit the VB app, all the data in the array is gone unless copied to the dbase file. When I run the VB app, the dbase file must repopulate the array with the data stored within so that I can see what seats are available and what's not.

I also have to do the usual search, delete bits.

Any advice?

Thanks for your time.
Dec 4 '06 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 8,434
I think we've had people asking about the same assignment here at least once or twice before. If you run a search on TheScripts for appropriate key words, you should be able to find it all.
Dec 6 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.