|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Hi All,
I pls need a help, may be a sample code or something on, I want to be able to search a user with a user code, get a form populate if the user exist in the Database, but at the same time in one corner of the form I want to be able to see the list of other user's code in a ComboBox from the Database, and onclicking on any user code in the ComboBox the same form should be populated with the user' information. Right now I have a functional Application but without the ComboBox functionality. Thanks Abdul |
|
#2
|
|||
|
|||
|
Try this out may be this can help u
<html> <% open the connection here run you quary get the value of the query in the record set %> <select name="tl" size="1"> <option value=""></option> <% On Error Resume Next rs.MoveFirst do while Not rs.eof %> <option value="<%=Server.HTMLEncode(rs.Fields("UserID").Value)%>"><%=Server.HTMLEncode(rs.Fields("UserID").Value)%></option> <% rs.MoveNext loop%> </html> where rs is recordset name and UserID the IDname in your table try this out I hope u will be able to do the job you want Regard Rahul
__________________
Rahul Small things lead to perfection and perfection is not a small thing. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > ComboBox Item Populating a Form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|