Help needed with TDC...

I have got in a mess with Tabular Data Control - can anyone get this working please. Sorry it makes a long post.

<HTML>

<HEAD>
<SCRIPT LANGUAGE=VBSCRIPT>
<!--
function round_onclick()
  round.Sort = "+round"
  round.Reset()
end function

function FilterRound()

cFilterExpr = ""
if cboRound.selectedIndex > 0 then
      cFilterExpr = "Round=" & cboRound.selectedIndex
end if
Round.object.Filter = cFilterExpr
Round.Reset

end function

function cboRound_onchange()
      FilterRound
end function

-->
</SCRIPT>

</HEAD>

<BODY>
<OBJECT id=Round CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
    <PARAM NAME="DataURL" VALUE="ImpOut.txt">
    <PARAM NAME="UseHeader" VALUE="True">
</OBJECT>

<LABEL FOR="Round">Round: </LABEL>

<SELECT ID="cboRound">
  <OPTION SELECTED VALUE=0>ALL
<OPTION VALUE=1>York
<OPTION VALUE=2>Hereford
<OPTION VALUE=3>Bristol 1
<OPTION VALUE=4>Bristol 2
<OPTION VALUE=5>Bristol 3
<OPTION VALUE=6>Bristol 4
<OPTION VALUE=7>Bristol 5
<OPTION VALUE=8>St.George
<OPTION VALUE=9>Albion
<OPTION VALUE=10>Windsor
<OPTION VALUE=11>Short Windsor
<OPTION VALUE=12>Junior Windsor
<OPTION VALUE=13>New Western
<OPTION VALUE=14>Long Western
<OPTION VALUE=15>Western
<OPTION VALUE=16>Short Western
<OPTION VALUE=17>Junior Western
<OPTION VALUE=18>Short Junior Western
<OPTION VALUE=19>American
<OPTION VALUE=20>St.Nicholas
<OPTION VALUE=21>New National
<OPTION VALUE=22>Long National
<OPTION VALUE=23>National
<OPTION VALUE=24>Short National
<OPTION VALUE=25>Junior National
<OPTION VALUE=26>Short Junior National
<OPTION VALUE=27>New Warwick
<OPTION VALUE=28>Long Warwick
<OPTION VALUE=29>Warwick
<OPTION VALUE=30>Short Warwick
<OPTION VALUE=31>Junior Warwick
<OPTION VALUE=32>Short Junior Warwick

</SELECT>

<TABLE ID="roundtbl" datasrc="#Round" Border=1>

<THEAD>
<TR>
<TD><DIV ID="round"><B>Round</B></DIV></TD>
<TD><B>100yds</B></TD>
<TD><B>80yds</B></TD>
<TD><B>60Y</B></TD>
<TD><B>50yds</B></TD>
<TD><B>40yds</B></TD>
<TD><B>30yds</B></TD>
<TD><B>20yds</B></TD>
<TD><B>15yds</B></TD>
<TD><B>10yds</B></TD>
<TD><B>NatRec</B></TD>
<TD><B>DoubRnd</B></TD>
</TR>
</THEAD>

<TBODY>

<TR ALIGN=CENTER>
<TD ALIGN=LEFT><DIV datafld="round"></DIV></TD>
<TD><DIV datafld="100yds"></DIV></TD>
<TD><DIV datafld="80yds"></DIV></TD>
<TD><DIV datafld="60Y"></DIV></TD>
<TD><DIV datafld="50yds"></DIV></TD>
<TD><DIV datafld="40yds"></DIV></TD>
<TD><DIV datafld="30yds"></DIV></TD>
<TD><DIV datafld="20yds"></DIV></TD>
<TD><DIV datafld="15yds"></DIV></TD>
<TD><DIV datafld="10yds"></DIV></TD>
<TD><DIV datafld="NatRec"></DIV></TD>
<TD><DIV datafld="DoubRnd"></DIV></TD>
</TR>

</TBODY>
</TABLE>


</BODY>
</HTML>

The data file (ImpOut.txt)content is:
Round,100yds,80yds,60Y,50yds,40yds,30yds,20yds,15yds,10yds,NatRec,DoubRnd
York,6,4,2, , , , , , ,A,Y
Hereford, ,6,4,2, , , , , ,B,Y
Bristol 1, ,6,4,2, , , , , ,C,Y
Bristol 2, , ,6,4,2, , , , ,D,Y
Bristol 3, , , ,6,4,2, , , ,E,Y
Bristol 4, , , , ,6,4,2, , ,F,Y
Bristol 5, , , , , , ,6,4,2, , 
St.George,3,3,3, , , , , , ,A, 
Albion, ,3,3,3, , , , , ,A
Windsor, , ,3,3,3, , , , ,A, 
Short Windsor, , , ,3,3,3, , , ,D, 
Junior Windsor, , , , ,3,3,3, , ,E, 
New Western,4,4, , , , , , , ,A, 
Long Western, ,4,4, , , , , , ,A, 
Western, , ,4,4, , , , , ,A, 
Short Western, , , ,4,4, , , , ,D, 
Junior Western, , , , ,4,4, , , ,E, 
Short Junior Western, , , , , ,4,4, , ,F, 
American, , ,2½,2½,2½, , , , ,A,Y
St.Nicholas, , , ,4,3, , , , ,E, 
New National,4,2, , , , , , , ,A, 
Long National, ,4,2, , , , , , ,A, 
National, , ,4,2, , , , , ,A, 
Short National, , , ,4,2, , , , ,D, 
Junior National, , , , ,4,2, , , ,E, 
Short Junior National, , , , , ,4,2, , ,F, 
New Warwick,2,2, , , , , , , ,A, 
Long Warwick, ,2,2, , , , , , ,A, 
Warwick, , ,2,2, , , , , ,A, 
Short Warwick, , , ,2,2, , , , ,D, 
Junior Warwick, , , , ,2,2, , , ,E, 
Short Junior Warwick, , , , , ,2,2, , ,F, 

LVL 1
mtechAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mtechAuthor Commented:
I need a solution ASAP so this can go on the Archery Club website so will INCREASE THE POINTS
0
roupikCommented:
I've just rewrote it to javascript (tested in IE4)

and it's running ;o)  read careful !

<HTML>

<HEAD>
<SCRIPT LANGUAGE=javaSCRIPT>
<!--
function round_onclick() {
  round.Sort = "+round" ;
  round.Reset();
}

function FilterRound() {

cFilterExpr = "";
if ( cboRound.selectedIndex > 0 )  {
      cFilterExpr = "Round=" + cboRound[cboRound.selectedIndex].value;
      }

Round.object.Filter = cFilterExpr;
Round.Reset();

}

function cboRound_onchange() {
      FilterRound();
}

-->
</SCRIPT>

</HEAD>

<BODY>
<OBJECT id=Round CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
    <PARAM NAME="DataURL" VALUE="ImpOut.txt">
    <PARAM NAME="UseHeader" VALUE="True">
</OBJECT>

<LABEL FOR="Round">Round: </LABEL>

<select name="cboRound_n" id="cboRound" onChange="javascript:cboRound_onchange();">
  <OPTION SELECTED VALUE=0>ALL
<OPTION VALUE=York>York
<OPTION VALUE=Hereford>Hereford
<OPTION VALUE="Bristol 1">Bristol 1
<OPTION VALUE="Bristol 2">Bristol 2
<OPTION VALUE=5>Bristol 3
<OPTION VALUE=6>Bristol 4
<OPTION VALUE=7>Bristol 5
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mtechAuthor Commented:
That seems to work
thanks
0
roupikCommented:
but what about neckejp ;o)

thx in advance
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.