Guest_imported
New member
- Jan 1, 1970
- 0
Microsoft VBScript compilation error '800a0400'
Expected statement
/campbemr/default.asp, line 38
(CountAds(Category_ID)
^
What is an expected statement?
Here are my lines of code:
<%
Do While Not Crs.eof
Category_ID = Crs.Fields("ID"
%>
<TR><TD width = "50%"><BIG><BIG><A HREF="viewads.asp?catID=<%=Crs.Fields("ID"
%>"><%=Crs.Fields("CategoryName"
%></A> <SMALL>(<%(CountAds(Category_ID)%>)</SMALL></BIG></BIG>
<BR>
CountAds is a function that I created later in the page.
Expected statement
/campbemr/default.asp, line 38
(CountAds(Category_ID)
^
What is an expected statement?
Here are my lines of code:
<%
Do While Not Crs.eof
Category_ID = Crs.Fields("ID"
<TR><TD width = "50%"><BIG><BIG><A HREF="viewads.asp?catID=<%=Crs.Fields("ID"
<BR>
CountAds is a function that I created later in the page.