Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Newbie needs help/suggestion
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Newbie needs help/suggestion

 Post Reply Post Reply
Author
redk View Drop Down
Groupie
Groupie


Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 48
Post Options Post Options   Thanks (0) Thanks(0)   Quote redk Quote  Post ReplyReply Direct Link To This Post Topic: Newbie needs help/suggestion
    Posted: 19 February 2003 at 7:43pm

Hi,

Im needing to make an Access database to store seat positions and who sits in them. E.G.-

             Seat
Row   117    118   119   120
A       Bob   tom    Dik    tim
B         -       -       -     etc

I need to be able to show the table on a webpage and i need to also have another page where i can insert and change the names on each seat.

Now im not asking for someone to do all this for me LOL but, im even having trouble figuring out how to layout the initial table in the blank database (fields etc) in Access to accomplish the above and if someone can suggest how to do that or point me to a relevant tutorial - i'd b very grateful :)

thanks for reading

Red..

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2003 at 10:11pm

redk, what you try to do very well depends on the amound of rows and Seats per row you are going to have. If there are just 5 rows it would no be a broblem vreating a column for each row but if there are 120 or more you might want to consider creating a table for the person that occupies a potential seat and the have an entry like 117A or 005C for each individual. This value would have to be unique in the databse. Then you need to figure out not to accidently "sell" a seat twice so there would have to be either a database for all seats so you can populate it to a dropdown or so. Well, post what the extend fo the database is, how many seats would there be and stuff and you should get a more specific answer.

Back to Top
redk View Drop Down
Groupie
Groupie


Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 48
Post Options Post Options   Thanks (0) Thanks(0)   Quote redk Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2003 at 10:22pm

Firstly - thanks for taking the time :) - here is the info.....

There are 22 rows from top to bottom (V to A) A being bottom.
and 14 seat numbers from left to right (columns - 117 to 130)

Its actually a section of a football stadium if that helps you visualise it better :) I need to be able to look at the webpage as if im standing on the pitch looking at who's seated where.

Anymore help is more than welcome - thanks a lot

Red..



Edited by redk
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 9:51am

Well if you want to keep it simple I would probably have a table like:
Row   Seat   Occupied
A       117    Brian
A       118    Free
...      ...     ...
V       128    Jim
V       129    Jeff

And then just run update statements to change from Free to a name or from a name to free. This is a very simple layout and would not let you collect more information. For that to do you could have a second table with visitor details and add under Occupied you would just have the Visitor ID. It all depends on how many people might be sitting in this section into the future. If your server has ASP.Net it would be extremly easy to do that using a Datagrid, actually I have a script that could be adapted to that in less than an hour. If you use asp it's much more code as to changing each field in a table view so you can visualize the stadium. Let me know, maybe I can post you a little sample....

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 12:22pm
OK, I changed some old code I had to accomodate what you are looking for, well at least from how I understand it. Check this link, if you like it I zip it up and email it to you.... PM me your email address then. The code is fairly dirty and would need some cleanup but it should give you a start. Also you would have to figure out to get the Rows A-V written next to each row.

Edited by michael
Back to Top
redk View Drop Down
Groupie
Groupie


Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 48
Post Options Post Options   Thanks (0) Thanks(0)   Quote redk Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 1:30pm

Thats pretty cool :)

Thanks so much for your efforts - Im gonna PM you now!

Cheers

Red..

Back to Top
redk View Drop Down
Groupie
Groupie


Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 48
Post Options Post Options   Thanks (0) Thanks(0)   Quote redk Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 10:52pm

Just popped back on to publically thank Michael for helping me so much :)

Ive got exactly what i needed to get my idea up and running now and things are looking good.

thanks mate

Red..

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.