CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Link problem

Print topic Send  topic

Author Message
Igor Pobi
Posted: 08/03/2003, 1:13 AM

I have links on a web site. Every link sends parameter over http protocol
and it all links again on the same web page. How can I find out which link
is pressed ?

Thanks !!!

DonB
Posted: 08/03/2003, 5:21 AM

Ensure each Link sends a unique parameter (make one up if you have to, like
(click=1, click=2, click=3, etc.) You can add your own parameter by editing
the Link properties and adding one which has the type "Expression" and
"Value" = the number and Name = "Click"

DonB

"Igor Pobi" <igor.pobi@kc.hinet.hr> wrote in message
news:bgig6l$id3$1@news.codecharge.com...
> I have links on a web site. Every link sends parameter over http protocol
> and it all links again on the same web page. How can I find out which link
> is pressed ?
>
> Thanks !!!
>
>

Igor Pobi
Posted: 08/03/2003, 7:47 AM


"DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> wrote in message
news:bgiuop$6bf$1@news.codecharge.com...
> Ensure each Link sends a unique parameter (make one up if you have to,
like
> (click=1, click=2, click=3, etc.) You can add your own parameter by
editing
> the Link properties and adding one which has the type "Expression" and
> "Value" = the number and Name = "Click"

Ok, but how can I find out which link is pressed ?
How check parameter ?

EVENTS -> BEFORE SHOW:

IF ??? THEN Label1.text = "Link 1 is pressed !"
IF ??? THEN Label1.text = "Link 2 is pressed !"
....

Thanks !!!

DonB
Posted: 08/03/2003, 6:38 PM

In ASP and PHP projects, there is a function called ccGetParam() that will
give you the link parameter's value so:

If ccGetParam("Click","0") = "1" then ???
If ccGetParam("Click","0") = "2" then ???

and so on. "0" is the default value returned when no param is found.

DonB


"Igor Pobi" <igor.pobi@kc.hinet.hr> wrote in message
news:bgj79i$gnr$1@news.codecharge.com...
>
> "DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> wrote in message
>news:bgiuop$6bf$1@news.codecharge.com...
> > Ensure each Link sends a unique parameter (make one up if you have to,
> like
> > (click=1, click=2, click=3, etc.) You can add your own parameter by
> editing
> > the Link properties and adding one which has the type "Expression" and
> > "Value" = the number and Name = "Click"
>
> Ok, but how can I find out which link is pressed ?
> How check parameter ?
>
> EVENTS -> BEFORE SHOW:
>
> IF ??? THEN Label1.text = "Link 1 is pressed !"
> IF ??? THEN Label1.text = "Link 2 is pressed !"
> ...
>
> Thanks !!!
>
>


   


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.