Problem With My Dropdowns!

I have an ASP page. On that ASP page I have three columns. Each column contains one dropdown box. I wanted to make them dependant of each other and I think I did it.

When the user clicks on the submit button after making his selection in the first dropdown, I have an sql for the second dropdown which will automaticly not show the first selection as a option in the second dropdown. So far, it's allright.

When the user makes his second selection and hits the second submit button below the second dropdown, same thing should happen with the third dropdown box and its SQL query. I use SQL to extract records from an MS Access database.

However, in the third dropdown I don't get the value selected already in the second dropdown, but the value already selected in the first dropdown now shows up????

View Replies


ADVERTISEMENT

Too Many Dropdowns On An ASP Page

My ASP page contains around 35 dropdown controls. If I try to open this page
from a Win98 OS , the dropdowns appear jumbled up. They overlap on each
other. However, this problem is not reported on any other Windows OS.

View Replies View Related

Dependent Dropdowns

i have a form and i need the selection from the first dropdown to influence the results on the second dropdown.The first dropdown will have a list of guesthouses and based on the guesthouse chosen, the second dropdown will give the rooms available in that chosen guesthouse.

View Replies View Related

Dynamic Dropdowns Problem

I'm creating a form to update a series of records. For four of the fields, I want the options available to the user to be limited by dropdowns. One dropdown is generated from a table in the database, the other two are generated by arrays I've written.

The problem is the dropdowns aren't picking up the value stored in the database for each record. The text fields are picking up the correct values, but not the dropdowns. For one set of records the dropdowns are only picking up the first (default) option; with another set of records, the first record's dropdowns are correct, but then the subsequent records' dropdowns repeat the values of the first one. Code:

View Replies View Related

Javascript Date Dropdowns

I'm using a piece of javascript in my asp page that splits the date into 3 dropdown boxes, one for day, month and year.

This works fine. The problem I'm having is that when a user first enters the system there is no date selected, therefore I want the current date to be selected in these dropdowns based on the system dates Day(Now), Month(Now), Year(Now).

I can't seem to get the correct month selected, I can only get it to write the current month at the end of the dropdown which is no good cos then it's in there twice. Code:

View Replies View Related

MULTIPLE DROPDOWNS, ASP, VBSCRIPT

I''ve 3 to 4 or more combo boxes. On the change event of the combo boxes I want to fill the values.

Suppose I change the value in combobox1 the second combo box should get filled basing on the first combo box, in the same way the third combo should get filled basing on the second combo criteria and the fourth combo should get the values basing the selection made in the 3rd combo.

All the combo boxes are fired in the change event of the combo box. And please no Javascript only VBSCRIPT.

View Replies View Related

Dynamic Populated Dropdowns

I don't want to try and reinvent the wheel so I'm looking for an ASP 3 script that will dynamicaly populate a nubmer or dropdown boxes from an access database, read a price from the the database and write both the selection and the price to a form and total all the prices too.

View Replies View Related

Dynamic Triple Linked Dropdowns

Code:

' then set up a query
' -----------------------------------------------
sQuery = "SELECT DISTINCT * from tablename Order By columnA, columnB " ' << insert your own sql here

could someone give an example so I could follow it?

View Replies View Related

Multiple Dropdowns To Create An Arrary To Form ORDER BY Statement

Creating a form that allows people to search a ticket database. One criteria I would like to add is to give the people the option to sort the results by selecting criteria for a dropdown.

My first thought was to create 3 dropdowns with the same name, get the data and add it to the SQL string. It worked great except for when someone decided to leave anything blank.
Here are my dropdowns here: Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved