Okay, first dilettante, you get a star for this post. I didn't know if what I wanted was even possible, but with your code it appears that it is.
I have added the script that you've shown, but I might still be doing something wrong. While I'm not getting errors, the filter still doesn't work. Here is the full vb script:
<SCRIPT LANGUAGE=VBSCRIPT>
<!--
objTDC.Filter="FlashDate < " & FormatDateTime(loggedDate, vbShortDate)
objTDC.Reset()
function FlashDate_onclick()
flashes.Sort = "+FlashDate"
flashes.Reset()
end function
function FlashName_onclick()
flashes.Sort = "+FlashName"
flashes.Reset()
end function
// -->
</script>
This script is in the <HEAD> section of the page. Also below is a sample of my txt file being used for the TDC:
Header--"FlashID:Number","FlashDate

ate","FlashName:String"
3,4/24/2003,"<a href="">4/24/03</a>"
4,4/25/2003,"<a href="">4/25/03</a>"
5, 4/29/2003,"<a href="">4/29/03</a>"
I've also include all the TDC code:
<object id="flashes" classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" width="96" height="13">
<param name="RowDelim" value="">
<param name="FieldDelim" value=",">
<param name="TextQualifier" value=""">
<param name="EscapeChar" value>
<param name="UseHeader" value="True">
<param name="SortAscending" value="-1">
<param name="SortColumn" value>
<param name="FilterValue" value>
<param name="FilterCriterion" value="??">
<param name="FilterColumn" value>
<param name="CharSet" value>
<param name="Language" value>
<param name="CaseSensitive" value="-1">
<param name="Sort" value="-FlashDate">
<param name="Filter" value>
<param name="AppendData" value="0">
<param name="DataURL" value="PrintFlashes.txt">
<param name="ReadyState" value="4">
</object>
<table datasrc=#flashes border=1>
<thead><tr>
<td width="25%" align="center"><div id="FlashDate"><b><u><font size=4 color="blue">Flash Date</div></td>
<td width="75%" align="center"><div id="FlashName"><b><u><font size=4 color="blue">Flash Name</div></td>
</tr></thead>
<tbody>
<col
<tr>
<td width="25%"><font size=4><div datafld="FlashDate"></div></td>
<td width="75%"><font size=4><div datafld="FlashName" DATAFORMATAS="HTML"></div></td>
</tr></tbody></table>
The only thing I can think of is I am not setting the loggedDate variable properly. It's being set in JavaScript earlier in the <HEAD> section. Would that cause the filter not to work?
I'm at a loss here. This is over my head. Thx for all and any more help you can give.
DreamerZ