|
-
Jun 14th, 2008, 09:40 PM
#1
Thread Starter
New Member
VB6 need help with records
Any help on where to get started or links to websites will be really good. I know most people dont like helping people with assignments but im struggling i know i need to make a program so it makes a record where it stores the passengers name etc but im a little confused
Hawker Airlines needs an application which will record flight bookings for their service from Canberra to Albury. This service operates three times a week – Monday, Wednesday and Friday. Their aircaft seats 30 passengers with twin seats on one side and single seats on the other side.
The program will need to be able to:
Allocate a person to a particular seat and record their name
Allow for bookings and cancellations
Save all information for later use
Give information about available seats within the current week
The screen design should be simple and uncluttered.
There should be NO command buttons on the screen. User access to options should be through a menu bar and toolbar.
Thanks for any help
-
Jun 14th, 2008, 09:43 PM
#2
Fanatic Member
Re: VB6 need help with records
What coding do you have so far? We aren't going to do your homework.
If ive helped, RATE my post.
If your thread is solved, and you got your answer, mark this thread Resolved.
There is no other forum like VBFORUMS.
-
Jun 14th, 2008, 09:53 PM
#3
Thread Starter
New Member
Re: VB6 need help with records
i haven't started writing any code as i said in my post before, i just would like some suggestions or links to sites that help with records. so i need to have a record that i can add and delete passenegers.
-
Jun 15th, 2008, 12:06 PM
#4
Re: VB6 need help with records
There are several definitions of a "record", and there is a very good chance that whatever we show you will be the wrong kind (so our time is wasted, and if you follow it you may get into trouble).
You wouldn't have been given this assignment if you hadn't been taught enough to at least make a decent attempt at it... so give it a go, and then ask us for more specific help (such as "I have the following code, why does it give me this error?").
Last edited by si_the_geek; Jun 15th, 2008 at 01:11 PM.
-
Jun 15th, 2008, 01:00 PM
#5
Fanatic Member
Re: VB6 need help with records
I agree, shouldn't you have been taught how to do these types of things? How are you confused?
If ive helped, RATE my post.
If your thread is solved, and you got your answer, mark this thread Resolved.
There is no other forum like VBFORUMS.
-
Jun 15th, 2008, 05:25 PM
#6
Thread Starter
New Member
Re: VB6 need help with records
can some one explain what this is doing
Code:
Open "a:\results.dat" For Random As 1 Len (Student)
-
Jun 15th, 2008, 06:06 PM
#7
Re: VB6 need help with records
If you click on the word Open and press F1, you will see an explanation of what each section means, and examples too.
In simple terms.. it is opening a file ("a:\results.dat"), and giving it the reference '1' (which you will use in other code to work with that file).
It is being opened in Random mode, which means the data is stored using a particular structure (or 'Record', in terms of files!), and you will be able to read a whole record at a time. The last part ( Len(Student) ) says what size these structures are.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|