If you are using multiple planes, use multiple records in a random access file storing a fixed array in each file.
dim plane as boolean(3,9)
dim rnum as integer = 0
do while not eof(1) 'this just gets the record number at the end of the file, theres faster ways to do it but i really can't be bothered
rnum += 1
rnum += 1
if 00.checked = true then 'checkbox
plane(0,0) = true
plane(0,0) = false
if 10.checked = true then 'do all of these for a "checkbox array" on a form
plane(1,0) = true
plane(1,0) = false
humm 4 capitalisation
23:07 -!- ^ is now known as He
23:07 * He ^ craves big black penises
Last edited by coolstorybro; 12-28-2009 at 02:09 PM.
You're going to have to write to either a database or a file so you can record what seats are actually taken. database is easy, but because you're not doing an online program (i assume...) then you're going to have to write to a file.
the file should be setup with each possible combination of a seat, which will have a corresponding place in the array.
ie. [i][a].[i][b].[i][c].[i][d]. etc.
Then again I know nothing about VB so you may be able to skip this and use an internal program memory.