CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge -> Programming

 Link Control Source

Print topic Send  topic

Author Message
Posted: 03/04/2004, 7:16 AM

I want to create one link with two fields as the text within the same link.
The field for a link is set with the "control source" property. But that
property only accepts one field from the database and not two or many
How can this be achived?

Posts: 586
Posted: 03/09/2004, 6:09 AM

I think you can create link via custom code. Use Label control with HTML property enabled. The second requirement is that both fields you want to use in a link are included into SQL query. In form's Before Show event build own link. Here is sample PHP code:
fldLink_name = "<a href = \"".$fldlink_href_field."\">". $fldlink_href_field."-".$db->f("second_display_field")."</a>";  
In this case I assume that "link_href_field" is a field that is added to a form, "second_display_field" is a field that you want to use in a link, but it is not added as form's control.
Hope it helps.

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

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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