Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: obtatining value from the list at the runtime


Message #1 by "Dibyendra Hyoju" <dibyendra@y...> on Sat, 26 Oct 2002 16:46:53
how can i get the value from the list at the runtime so that whenever the 
user changes the list, the customer name in the 

customer Feild appears.
Please Help
I have to complete the project this week.
Thanks In Advancec
Message #2 by Greg Griffiths <greg2@s...> on Sat, 26 Oct 2002 18:43:15 +0100
Which list ? can you post some code ?

At 16:46 26/10/02 +0000, you wrote:
>how can i get the value from the list at the runtime so that whenever the
>user changes the list, the customer name in the
>
>customer Feild appears.
>Please Help
>I have to complete the project this week.
>Thanks In Advancec


Message #3 by "Dibyendra Hyoju" <dibyendra@y...> on Sun, 27 Oct 2002 01:44:08
hello greg
here's the list
Customer ID : &nbsp;
<select NAME="customerID" size="1">
<option value=Prakash>P001</option><option value=Surendra 
>S001</option><option value=Rajesh>R001</option><option value=Ram 
>R002</option>
</select>

here  is the customername feild
<INPUT TYPE=text NAME=" "customerName">

how can i display the customer name from database when CustomerID is 
changed in above list.?I have the customers table in company.mdb
Please Help
Dibyendra
Message #4 by Greg Griffiths <greg2@s...> on Sun, 27 Oct 2002 15:07:08 +0000
try

<form name="myForm">
><select NAME="customerID" size="1" 
>onchange="document.myForm.customerName.value=document.myForm.customerID.value">
><option value=Prakash>P001</option>
><option value=Surendra>S001</option>
><option value=Rajesh>R001</option>
><option value=Ram>R002</option>
></select>
>
>here  is the customername feild
><INPUT TYPE=text NAME=" "customerName">


At 01:44 27/10/02 +0000, you wrote:
>hello greg
>here's the list
>Customer ID : &nbsp;
><select NAME="customerID" size="1">
><option value=Prakash>P001</option><option value=Surendra
> >S001</option><option value=Rajesh>R001</option><option value=Ram
> >R002</option>
></select>
>
>here  is the customername feild
><INPUT TYPE=text NAME=" "customerName">
>
>how can i display the customer name from database when CustomerID is
>changed in above list.?I have the customers table in company.mdb
>Please Help
>Dibyendra



  Return to Index