Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Why Wont This Work????
Old 07-07-2004, 04:45 AM Why Wont This Work????
Junior Talker

Posts: 1
Trades: 0
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
%>
marklse is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-07-2004, 08:08 AM
Bicstar's Avatar
Skilled Talker

Posts: 55
Trades: 0
message deleted

Last edited by Bicstar; 07-07-2004 at 08:21 AM..
Bicstar is offline
Reply With Quote
View Public Profile
 
Old 07-10-2004, 01:12 AM
ACW
Average Talker

Posts: 26
Trades: 0
Are you getting a specific error or is it just not printing anything?
ACW is offline
Reply With Quote
View Public Profile
 
Old 07-10-2004, 01:16 AM
ACW
Average Talker

Posts: 26
Trades: 0
Try replacing do while newsRS < 3 with Do While newsRS.EOF = False
ACW is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why Wont This Work????
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.78751 seconds with 12 queries