This is a discussion on "Asp form connecting to Access" within the Classic ASP section. This forum, and the thread "Asp form connecting to Access are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Asp form connecting to Access
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Asp form connecting to Access
Dear All
Happy new year I run the site http://www.easytraveller.gr where I have several asp forms to display the rates of hotels and where someone can make reservation. One of the forms is http://www.easytraveller.gr/andromeda_villas_santorini.asp In this form I use the recordsets to get info from an access db: rsRates, rsRooms, rsMonths, rsDays, rsYears, rsNights, rs Persons, rsCountries. In all forms all above is the same except of the rsRates and rsRooms. These 2 recordsets take info from 1 table which is unique for each hotel. When I make the form I specify to the recordset in which table to go and get the info but as you see I have to make about 700 forms. The name of each form is specified in the link button of a page made in flash like: geturl andromeda_villas_santorini.asp. What I need to make is: One single form named hotelres.asp with all the recordsets as above where I could specify for every hotel a special code corresponding to the table containing the rates and room types. So I have in the database 1 table for each hotel and 1 form that will be looking for the information to the relevant table according to the information provided in the linking button. Thank for every one who can help Best regards Tolis |
|
|
|
#2
|
|||
|
|||
|
Re: Asp form connecting to Access
could you not:
if you need additional help feel free to ask.. |
|
#3
|
|||
|
|||
|
Re: Asp form connecting to Access
Thank you Benbramz
Sorry but for my knowledge level this is not clear. If you can kame it more clear I will very much appreciate, or if someone has any other idea? Best regards Tolis |
|
#4
|
|||
|
|||
|
Re: Asp form connecting to Access
hey thats no problem...anyway, i was wrong about what you needed....
what would be better is: you have one page, instead of having *andromeda_villas_santorini.asp* and 100's like it, you have showresort.asp. however, we will use somthing called a querystring. these are the things that usualy look like id=76637 etc. To start these off, we have a ?. so showresort.asp?id=76637 follow so far? hope so anyway, what we will do is select the information from your database which has the resorts in, by using this quesrysting (using ID as the matching ID of the record) so, to start
recordset.Open "SELECT * FROM tablename where ID=" & recordID see? if your looking at the screen like Last edited by benbramz; Jan 10th, 2006 at 14:30. |
|
#5
|
|||
|
|||
|
Re: Asp form connecting to Access
Thank you Ben
Your help was great Tolis |
|
#6
|
|||
|
|||
|
Re: Asp form connecting to Access
glad i was of some use!
|
![]() |
| Tags |
| asp, form, connecting, access |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ASP Multi users Access to Microsoft Access | ish | Classic ASP | 0 | Apr 26th, 2007 20:05 |
| Access open form | djme | Databases | 0 | Oct 14th, 2006 16:34 |
| connecting to CSV file | madhuri.t | Classic ASP | 0 | Jul 10th, 2006 13:50 |
| Access Form Event | oldmanmedic | Databases | 1 | Jun 27th, 2006 00:01 |
| ASP form to access db in fpdb folder | JED01 | Classic ASP | 3 | Mar 27th, 2006 16:54 |