I have many links on one page like this.
I need that when you click on one postcardid link all the other postcardids associated with the author of that link are displayed on another page page.
Expand|Select|Wrap|Line Numbers
- href="artschooldirectory.asp?PostCardID=<%=rsCard("PostCardID")%>"
I dont know if that is clear but any help woulr be great.
Thanks
richard
Expand|Select|Wrap|Line Numbers
- lngPostCardID=Clng(Request("PostCardID"))
- If lngPostCardID <> "" Then
- Set connPostCardSoft=Server.CreateObject("ADODB.Connection")
- connPostCardSoft.Open PostCardSoftConnectString
- Set rsCard=Server.CreateObject("ADODB.Recordset")
- rsCard.CursorLocation = 3
- SQLQuery="Select PostCardID,DefaultHeadline,CardDescription,DefaultMessage,Author,PictureURL,BackgroundImageURL,ThumbnailHTML,Rnd([PostCardID]) From tblGreetingPostCards where PostCardID=" & Clng(lngPostCardID) & " ORDER BY Author"
- rsCard.Open SQLQuery, connPostCardSoft
- rsCard.PageSize = 600
- intPageCount = rsCard.PageCount
- If rsCard.EOF=True Then
- Response.Write "<p>No artists found in database for this category."
- Response.End
- End If
- End If