CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Changing field value

Print topic Send  topic

Author Message
J.D. Archer
Posted: 11/21/2002, 3:09 PM

Hello,

I am in the process off converting several of my cc2 to ccs. I have some
custom code to convert from cc2 php to ccs php. I have a label field that I
want to combine several database fields together to make a clickable link.
Also I have the fields that make the links in hidden fields like in CC2.

Here is my code;

global $websites; // Form name

Below is were I am confused about my quotes
$websites->ClickMe->SetValue("<font face=\"verdana\" size=\" .
$websites->fontsize->Value . "\"><a href=\"" . $websites->weblink->Value .
"\" target=\"_blank\">" . . $websites->webname->Value . "</a></font>");

I have also tried it without the quotes around the html tags.

I would use the url field but can't seem to locate it in the new layout.

--


J.D. Archer
Network Engineer
859-312-7012
http://www.jdarcher.net

Alexey Alexapolsky
Posted: 11/22/2002, 6:39 AM

It's better to convert to Label control in this case
--

Alex,
Support Engineer
CodeCharge Team


"J.D. Archer" <jarcher@engineer.com> wrote in message
news:arjp2u$suj$1@news.codecharge.com...
> Hello,
>
> I am in the process off converting several of my cc2 to ccs. I have some
> custom code to convert from cc2 php to ccs php. I have a label field that
I
> want to combine several database fields together to make a clickable link.
> Also I have the fields that make the links in hidden fields like in CC2.
>
> Here is my code;
>
> global $websites; // Form name
>
> Below is were I am confused about my quotes
> $websites->ClickMe->SetValue("<font face=\"verdana\" size=\" .
> $websites->fontsize->Value . "\"><a href=\"" . $websites->weblink->Value .
> "\" target=\"_blank\">" . . $websites->webname->Value . "</a></font>");
>
> I have also tried it without the quotes around the html tags.
>
> I would use the url field but can't seem to locate it in the new layout.
>
> --
>
>
> J.D. Archer
> Network Engineer
> 859-312-7012
> http://www.jdarcher.net
>
>


   


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.