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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have created a query via the data

Status
Not open for further replies.

achau

Technical User
Apr 16, 2001
34
0
0
GB
I have created a query via the database results wizard in FP to obtain data from Access. One of the search criteria is for the field "City"---- I already have a data table in Access for storing a list of cities. How can I change the free text box (create by FP DB results wizard, code below for this form field) into a drop-down list box (preferably generated from the Access data table)?

<input TYPE=&quot;TEXT&quot; NAME=&quot;City&quot; VALUE=&quot;<%=Request(&quot;City&quot;)%>&quot; size=&quot;20&quot;>

Thanks.
 
Drop Down yeh?

<select size=&quot;10&quot; name=&quot;D1&quot;>
<option value=&quot;<%=Request(&quot;City&quot;)%>&quot; >
<%=Request(&quot;City&quot;)%></option>
</select>


This will be it...

Anything let me know...


Tommy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top