Hi folks...

I'm trying to create a page for my sis to so can add captions to pictures,
without me doing the work for her. The DB will contain one caption for each
picture. To display the captions on the picture page, I'm getting a RecSet
with Select * so all captions are available. I'd like to then ONLY display
the caption for each picture number. 

This means that Pic # 1 cell would call to display RS("picNUM") = 1, and so
on.

Can anyone tell me how to display each capture where needed? 

I tried using this:

<%If RS("picNUM") = 1 Then %><%=RS("caption")%><%End If%>

That worked for # 1, but (of course) once it finds the match for # 1, it
ignores all the rest of the code so the others don't get a display. Select
case would do the same. I need some code that says "display RS("caption")
for RS("picNum") = 1 here", "display RS("caption") for RS("picNum") = 2
here" and so on. But I don't know how I should do this.

TIA for any help...

Dian ~




-- 
This email scanned and certified clean by AVG!
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 8/7/2005
 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12htkg35c/M=362329.6886308.7839368.1510227/D=groups/S=1705115381:TM/Y=YAHOO/EXP=1123465117/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to