|
Hi all im trying to get the following to work. I am calling the SP and trying to return records that are related to the NEWS List this has the id of 2.
<%
dim newsid
set newsid = 2
function getLatestNews( newsid )
sql = "sel_article_in_group 1,2,null,"& newsid
set newsRS = conn.execute(sql)
do while newsRS < 3 %>
<p class="int_links"><%= newsRS("headline")%></p>
<% newsRS.movenext
loop
end function
%>
|