CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 link not visible

Print topic Send  topic

Author Message
bigtoe

Posts: 115
Posted: 10/15/2004, 2:48 AM

So I added a "Link1" at the bottom of a CCS page after
the form tag and above the footer. It has these properties:

Name: Link1
Control Source Type: Database Column
Control Source:
Data Type: Text
Format:
Default Value
Content: Text
Href: Text
Href Source: http://www.yahoo.com
Convert URL To: None
Remove Parameters:
Preserve Parameters: GET
DBFormat:

But the link does not appear on the page.
I deleted the php file and had it regenerated - still no luck.

The html code:

< tr bgcolor = " # cccc66 " >
< td align = " right " >
< a href = " { Link1_Src } " id = " Link1 " > { Link1 } < / a >
< / td >
< / tr >

If I change the code to

< tr bgcolor = " # cccc66 " >
< td align = " right " >
Hi
< a href = " { Link1_Src } " id = " Link1 " > { Link1 } < / a >
< / td >
< / tr >

Then I only see the word "Hi" but still no link.
What did I miss?


View profile  Send private message
DonB
Posted: 10/15/2004, 7:23 AM

The link is not referencing a control source despite having the type as
"Database Column", thus there is no text for it to display. I suspect you
wanted the type as "Code Expression" and the source to be a text string
(enclosed in quotes).

--
DonB

http://www.gotodon.com/ccbth


"bigtoe" <bigtoe@forum.codecharge> wrote in message
news:5416f9cd681fa4@news.codecharge.com...
> So I added a "Link1" at the bottom of a CCS page after
> the form tag and above the footer. It has these properties:
>
> Name: Link1
> Control Source Type: Database Column
> Control Source:
> Data Type: Text
> Format:
> Default Value
> Content: Text
> Href: Text
> Href Source: http://www.yahoo.com
> Convert URL To: None
> Remove Parameters:
> Preserve Parameters: GET
> DBFormat:
>
> But the link does not appear on the page.
> I deleted the php file and had it regenerated - still no luck.
>
> The html code:
>
> < tr bgcolor = " # cccc66 " >
> < td align = " right " >
> < a href = " { Link1_Src } " id = " Link1 " > { Link1 } < / a >
> < / td >
> < / tr >
>
> If I change the code to
>
> < tr bgcolor = " # cccc66 " >
> < td align = " right " >
> Hi
> < a href = " { Link1_Src } " id = " Link1 " > { Link1 } < / a >
> < / td >
> < / tr >
>
> Then I only see the word "Hi" but still no link.
> What did I miss?
>
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

GeorgeS

Posts: 206
Posted: 10/15/2004, 8:30 AM

Link is not visible on your page because Default Value is not set.
You may set it in the Properies window like:
Default Value "Yahoo"

or in the beforeshow event:
$link->SetValue("Yahoo");
_________________
GeorgeS
View profile  Send private message
bigtoe

Posts: 115
Posted: 10/23/2004, 2:52 AM

Both methods work.

Thanks DonB and GeorgeS.
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.

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.