
August 23rd, 2000, 10:58 AM
|
|
Junior Member
|
|
Join Date: Aug 2000
Location: North Yorkshire, UK
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Take the code from here: http://members.fortunecity.com/awestmoreland1/ODBC_Data_Sources.html
or http://members.fortunecity.com/awestmoreland1/ODBC_Data_Sources.txt (without ad. bar)
The
<OPTION>mark_sql</OPTION>
bit is what you see in the listbox and the corresponding
if (num==1) {odbcsrc = "mark_sql.reg";}
bit is the file that is called when the option is selected
Basically, whenever the selection changes, the page that is displayed is the value of odbcsrc. You can change all instances of odbcsrc to something more meaningful.
Change the file names and descriptions to match those of your own and Bob's your mother's brother :-)
Hope that helps,
Andy
|