
dates and times in record need to become records I think
Hi
Using VB6 and Access 2000
My current project involves creating a cinema booking system and one of
the features I have to include is a schedule of movies to be shown with
their dates and show times My main screen for adding films includes
things like movie title, director, certificate etc. It also has a
starting date and ending date and 3 spaces for show times as well as
what screen the movie is to be shown in and how many seats remain for
that show. As the booking procedure will be using each movie show to
book from and keep records there are a few things I need to do.
Firstly I need every date / time combination of each film to exist in
the database as an individual entity
So for example
Austin Powers Saturday 14th 19:00 would be a different entry than Austin
Powers Saturday 14th 21:00
And if 100 seats were sold for the 19:00 show the 21:00 show wouldn't be
affected. My problem is I want to minimize the amount of data entry
required as entering each date / time / movie combination could be an
almost full time job. The ideal is to have it all on one form however
this doesn't leave much room for exceptions so I considered a form
solely for film details and starting date / ending date and another that
would take these each date and for each date ask what the show time were
- the show times would ideally stay the same as first entered and it
would be a small matter of hitting enter 10 or 12 times, or entering
extra shows or removing shows - whatever. But I really don't know how I
go about doing this. Has anyone done anything similar or have any ideas
- thanks
My second question is this - In my Access database I have for sections
like certificate a look up table with say 5 values - having used vis
data to create my main form (was this stupid) I now want to change some
of the textfields to combo-boxes, should I start again and how do I tie
a combo-box to a database - I'm sure this is really easy
My third question is, in my booking section I have an on screen array of
buttons 0-9 as a control array with Index as Integer, I have the value
the user hits coming up in a text field, and the value being something
like
Dim inNoOfTickets As Integer
Private Sub Cmd_Click(Index As Integer)
TxtNumberSelected.Text = Index
Index = inNoOfTickets
End Sub
However this means you only get the last number you clicked so if you
want 12 tickets you get 1 and then 2
How do I get it to accept 12 or any 2/3 digit number - again an easy
one I hope why are the easy ones always so annoying :) thanks again
Andrew