|
 |
asp_databases thread: please send me a solution at the earliest
Message #1 by sastry o <sastry_sa@y...> on Wed, 29 Nov 2000 05:34:07 -0800 (PST)
|
|
I am working on an intranet application now a days.
In a web page I am displaying a list of values in a
combo box. When a user selects a particular value I
want to fetch a few records from the database and
display those records in a combo box on the same page.
Can this be done in using VB Script. If yes, how?
Please send me the solution as early as possible.
regards
Patanjali Sastry
Message #2 by Gregory_Griffiths@c... on Wed, 29 Nov 2000 14:58:12 +0000
|
|
Any server side scripting language (e.g. PERL, Java, ASP, PHP) etc can
do what you need. However, your problem is two fold :
1. Get the info from the database
2. Display on the same page
In answer to 1, this is standard functionality of the
languages/toolsets listed above and any good book or website will equip
you with the required info to develop a solution. As you want to
trigger the selection you can either use a SUBMIT button or Javascript
- the reason I say Javascript and not VBScript is that the former is
normally the default script language installed with a web browser, the
latter only appears as standard with IE.
Secondly, you will not be able to display them on the same page unless
you either return the entire page from your code or you use FRAMES to
section off the combo box and the results. The reason for this is HTML
and can not be worked around.
If you require more info or need some help developing it, let me know.
> -----Original Message-----
> From: sastry_sa@y... [mailto:sastry_sa@y...]
> Sent: 29 November 2000 13:34
> To: asp_databases@p...
> Cc: sastry_sa@y...
> Subject: [asp_databases] please send me a solution at the earliest
>
>
> I am working on an intranet application now a days.
> In a web page I am displaying a list of values in a
> combo box. When a user selects a particular value I
> want to fetch a few records from the database and
> display those records in a combo box on the same page.
> Can this be done in using VB Script. If yes, how?
>
> Please send me the solution as early as possible.
>
> regards
> Patanjali Sastry
>
>
Message #3 by Robert Chartier <rchartierh@a...> on Wed, 29 Nov 2000 10:03:41 -0500
|
|
http://www.aspfree.com/devlinks/search.asp?file404=;&catid=127
At 08:34 AM 11/29/00, you wrote:
>I am working on an intranet application now a days.
>In a web page I am displaying a list of values in a
>combo box. When a user selects a particular value I
>want to fetch a few records from the database and
>display those records in a combo box on the same page.
>Can this be done in using VB Script. If yes, how?
>
>Please send me the solution as early as possible.
>
> regards
> Patanjali Sastry
>
>
Robert Chartier
Author, AspFree.com
xxx-xxx-xxxx
rchartierh@a...
http://www.aspfree.com/devlinks
http://www.aspfree.com/authors/robert
http://www.aspalliance.com/nothingmn
Message #4 by Stephane_Dattenny@D... on Wed, 29 Nov 2000 09:25:49 -0600
|
|
Look at the www.aspfree.com and search "dynamic list boxes"
Best regards / Cordialement
Stephane Dattenny
Dell Computers - EMEA IT - VB and Web developer
Phone: +33 (0)4 99 75 49 88
-----Original Message-----
From: sastry o [mailto:sastry_sa@y...]
Sent: 29 November 2000 14:34
To: ASP Databases
Subject: [asp_databases] please send me a solution at the earliest
I am working on an intranet application now a days.
In a web page I am displaying a list of values in a
combo box. When a user selects a particular value I
want to fetch a few records from the database and
display those records in a combo box on the same page.
Can this be done in using VB Script. If yes, how?
Please send me the solution as early as possible.
regards
Patanjali Sastry
|
|
 |