sanjuT
02-07-2005, 09:57 AM
How can I alter the code below to show only specific table fields?
<%
for index = 0 to rsComp.Fields.count -20
Field = rsComp.Fields(index).Name
response.Write ("<TD><FONT COLOR=#000000><b>" & Field & "</b></font></A><BR></TD>")
next
%>
Right now it takes off the last 20 fields, but the fields I want to display are not grouped together. Specifically, I need fields 1,6,9,23.
Do I manually have to hard-code the field columns?
Thanks.
<%
for index = 0 to rsComp.Fields.count -20
Field = rsComp.Fields(index).Name
response.Write ("<TD><FONT COLOR=#000000><b>" & Field & "</b></font></A><BR></TD>")
next
%>
Right now it takes off the last 20 fields, but the fields I want to display are not grouped together. Specifically, I need fields 1,6,9,23.
Do I manually have to hard-code the field columns?
Thanks.