Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default value of value list

Status
Not open for further replies.

load3d

Programmer
Feb 27, 2008
117
US
I have a drop down list that displays only one value when the query runs. The value is populated when the user enters the equipment number into a form field. A SQL statment is kicked off to populate the drop down list (only one row/value is returned) for example:

A user enters. MHE-123 (as the equipment#)

the SQL query returns one record

How do I make that record my default value?

or better yet... is it possible to set the value of a text field using a SQL statement and without using a value list box?





 
Pass. Thanks. Can't believe I couldn't get that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top