Hi Don,

Yes you can populate a drop-down box in Net.Data using SQL. Unfortunately, 
It's been a couple years since I used Net.Data and I don't have any 
examples here at this workplace.  You basically run the SQL statement and 
then insert the data like this:

<select>
  <option value="$(field_name)">$(field_name)</option>
</select>

There's some manuals at 
http://www-03.ibm.com/servers/eserver/iseries/software/netdata/docs/index.html 
that you might find useful.

HTH,
Dennis Rootes
Senior Programmer/Analyst
International Aluminum Corporation






message: 7
date: Thu, 14 Dec 2006 07:03:10 -0600
from: "Don Cavaiani" <dcavaiani@xxxxxxxxxxxxx>
subject: [WEB400] Net.data


Good Morning,
Don't know if this is the best place to ask this question? I was wondering 
if in net.data it is possible to "load up" a drop down list by reading a 
System i database via SQL? Say you had all of the state names in a file, 
and the user had to use a drop down list to select their state. Could that 
drop down list have been populated with the SQL against the database?
Regards,

Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.