I am the admin of an ASP based forum using Access as the database. I am trying to implement a modification where my users can click a link to jump directly to the last post in a thread...
Here is the link I have now that gets me to the last page of the thread:
response.write "<a class=""threadlink"" href=""" & sValidatedBaseURL & "/thread-view.asp?threadid=" & vThreadRows(0, index) & "&posts=" & vThreadRows(4, index) & """>
Now here is where I am getting lost... the messageID column that would get me to the last post is in a different table then where the info above in being pulled from. The existing stuff is all pulled from a table called "threads" and the column I need is in a table called "messages."
How can I put the two together in one link?
Here is the link I have now that gets me to the last page of the thread:
response.write "<a class=""threadlink"" href=""" & sValidatedBaseURL & "/thread-view.asp?threadid=" & vThreadRows(0, index) & "&posts=" & vThreadRows(4, index) & """>
Now here is where I am getting lost... the messageID column that would get me to the last post is in a different table then where the info above in being pulled from. The existing stuff is all pulled from a table called "threads" and the column I need is in a table called "messages."
How can I put the two together in one link?