Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Multiple Detail Pages from One Master Page

Posted 26 Jul 2001 17:01:35
1
has voted
26 Jul 2001 17:01:35 Julie Meredith posted:
Is it possible to go from a master page to one of two detail pages? For example, I have a master page listing company projects that currently links to a detail page showing the details for each project but... I would like to use a different detail pages depending upon if the projects are qualitative or quantitative i.e., if they click for details on a qualitative project it would go to the qualitative_details.asp page and then the same for a quantitative_details.asp page.

Thanks for the help

Replies

Replied 26 Jul 2001 18:19:21
26 Jul 2001 18:19:21 Davy Fennell replied:
Julie,

This can be accomplished quite easily by putting some CASE statements ASP code into you HTML. I had a similar problem recently that Joel Martinez helped me with.

Looking in the ASP section of UDZONE's Talkzone. The subject title is "Using the If , Then, Else statements? ".

YOu will need to create a category in the database for each document in order for this to work.

Good luck,

Davy


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Is it possible to go from a master page to one of two detail pages? For example, I have a master page listing company projects that currently links to a detail page showing the details for each project but... I would like to use a different detail pages depending upon if the projects are qualitative or quantitative i.e., if they click for details on a qualitative project it would go to the qualitative_details.asp page and then the same for a quantitative_details.asp page.

Thanks for the help


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Replied 26 Jul 2001 19:28:30
26 Jul 2001 19:28:30 Joel Martinez replied:
here's the topic Davy mentioned

www.udzone.com/forum/topic.asp?TOPIC_ID=8337&FORUM_ID=7&CAT_ID=5&Topic_Title=Using+the+If+%2C+Then%2C+Else+statements%3F&Forum_Title=ASP

that was a tough one... but I'm glad we worked through it <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>

Joel Martinez

----------
Is this thing on?....
Replied 26 Jul 2001 20:01:17
26 Jul 2001 20:01:17 Julie Meredith replied:
Thank you very much for helping me. I also found this on another Website. Is it essentially saying the same thing or should I just quit trying to confuse myself.

Does anyone know if it's possible to let a number in a recordset select between different detail pages, that is, if the number is 1 and the link is clicked, you go to detail_1; 2 you go to detail_2 etc. Please help me.

<pre id=code><font face=courier size=2 id=code>&lt;A href="&lt;%="detail_" & (YourRecordset.Fields.Item("pageID".Value) & ".asp" %&gt;"&gt;link text&lt;/a&gt;</font id=code></pre id=code>

The link is generated by writing detail_ first then tagging the pageID from your recordset on the end and finally adding the .asp extension (which could be .htm or whatever).

Replied 26 Jul 2001 20:04:27
26 Jul 2001 20:04:27 Joel Martinez replied:
if I'm reading that correctly, that code you posted should work beautifully.

if it's not working... try looking at the topic that davy started (the link is in the last post), there's a select case statement that would probably work.

Joel Martinez

----------
Is this thing on?....

Reply to this topic