CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge -> Programming

 Link to page A or B depending on value in other field

Print topic Send  topic

Author Message
PeterE
Posted: 06/08/2005, 6:19 AM

Hi,

I want to show a table with:
key-field: type:
agenda_id (label)
article_id showing title (join) (label)
article_id showing longtitle (join) (url)
categorie_id (label)

Now i want the url point to PageA.php or PageB.php depending on the value of categorie_id. So if categorie_id has the value X you go to PageA.php and if categorie_id has the value Y you go to PageB.php.

How do I do this???
Nicole

Posts: 586
Posted: 06/09/2005, 2:59 AM

Peter,
In general you can use several tables as form’s data source. Open form’s Data Source dialog and build a query you need in Visual Query Builder.
As for a Link you can modify Link’s Page property in its Before Show event. CCS help should provide more information about it.

_________________
Regards,
Nicole
View profile  Send private message
PeterE
Posted: 06/13/2005, 5:08 AM

Nicole,

this is the CodeCharge forum not the CCS forum!

I know I could do it probably in a Before Show or maybe in a Custom Show event, but how?

something like:
if categorie_id == X
url gotopage A.php
elsif
url gotopage B.php
(this is not php-code ofcourse :*)

Got a more detailed solution?

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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