CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge -> Programming

 Link Control Source

Print topic Send  topic

Author Message
Eydun
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
fields.
How can this be achived?
Nicole

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

Hello,
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.

_________________
Regards,
Nicole
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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