CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Conditional Record View

Print topic Send  topic

Author Message
Waldi
Posted: 09/30/2005, 5:31 AM

Here is my problem ... I am building a link directory with some links pointing to a URL outside of the website i.e. www.google.com

FIELDNAME : Google
FIELDURL : www.google.com
FIELDDESC : Cool search Engine
LONGDESC : -

and then some links do not have data but actually some data in the LONGDESC

FIELDNAME : Bananas
FIELDURL : {leave empty)
FIELDDESC : Yellow Fruit
LONGDESC : This is a fruit with lots of blah blah blah

SO now ... I display the grid:

1. Google
2. Bananas

When clicking on Google I would like the website to go to www.Google.com (This part is fine and easy to do)

BUT when clicking on bananas, I would like the website to go to contentdetail.asp and then display the content founded in the LONGDESC

How do I do it ?
dragoon


Posts: 173
Posted: 09/30/2005, 6:30 AM

add custom code Before Show on the {FIELDURL} label

actually you'll have to ovewrite {FIELDURL} content when this is null with "contentdetail.asp?content={LONGDESC}"

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.