I just can't figure this out. I have simplified my code to just test the TDC but it still has errors when I load it in a browser. Somebody put me out of my misery and tell me what's wrong with this code:
<html>
<head>
<title>Tabular Data Control</title>
</head>
<body>
<center><h1>Tabular Data Control Demonstration</h1></center>
<OBJECT ID="tdc" CLASSID="CLSID:333C7BC4-460F-11D0-BC04-OO80C7055A83">
<PARAM NAME="DataURL" VALUE="Data.txt">
</OBJECT>
<script LANGUAGE="JavaScript1.2" type="text/javascript1.2">
tdc.recordset.MoveNext();
while(!tdc.recordset.EOF)
{
document.write(tdc.recordset.Fields.Item(0).Value);
tdc.recordset.MoveNext();
}
</script>
</body>
</html
*******And the Data.txt's contents are:*********
Circle,stuff
Square,stuffer
Triangle,stuffit
X,stuffstuff
<html>
<head>
<title>Tabular Data Control</title>
</head>
<body>
<center><h1>Tabular Data Control Demonstration</h1></center>
<OBJECT ID="tdc" CLASSID="CLSID:333C7BC4-460F-11D0-BC04-OO80C7055A83">
<PARAM NAME="DataURL" VALUE="Data.txt">
</OBJECT>
<script LANGUAGE="JavaScript1.2" type="text/javascript1.2">
tdc.recordset.MoveNext();
while(!tdc.recordset.EOF)
{
document.write(tdc.recordset.Fields.Item(0).Value);
tdc.recordset.MoveNext();
}
</script>
</body>
</html
*******And the Data.txt's contents are:*********
Circle,stuff
Square,stuffer
Triangle,stuffit
X,stuffstuff