Re: Also, take a look at the ZipSearch sample application that comes with FoxWeb 4.
I loaded FoxWeb 4 (Demo) on a second machine (non web enabled LapTop) and can not find the ZipSearch sample application.
Sent by FoxWeb Support on 11/12/2007 02:56:54 PM:
You will need to use something like this to retrieve the selected company:
I have not tested the above code, so there may be some syntactical mistakes.
Sent by George Gambill on 11/12/2007 01:15:44 PM:
We are building a table of companies and want to build second table (same web page) based on a selection from the first table.
<!-- **** Company List ****-->
<TD style="WIDTH: 276px" vAlign=top><SELECT id=ddlCompanies
<% Do DisplCompanyList %>
<!-- DisplCompanyList returns something like this which works well-->
<OPTION value=1 selected>Yellow Book
Company</OPTION> <OPTION value=2>Verizon Yellow Pages</OPTION>
<OPTION value=3>SBC Yellow Pages</OPTION> <OPTION value=4>Los
Angeles Times</OPTION> <OPTION value=5>ypOne</OPTION> <OPTION
value=6>Call Yellow</OPTION> <OPTION value=7>Denver DEX</OPTION>
<OPTION value=8>None</OPTION> <OPTION value=9>AT&T</OPTION>
<OPTION value=10>Transwestern</OPTION> <OPTION value=11>Ross
Directories</OPTION> <OPTION value=12>Drain Patrol</OPTION>
<OPTION value=13>Tehachappi</OPTION> <OPTION value=14>Fine
Directories</OPTION> <OPTION value=15>Penny Saver</OPTION></SELECT>
The question is how to determine which comapny (i.e. value = 1 or 2 or ....15) was selected???
Any help / examples will be greatly appreciated!!!