CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 trying to concatenate fields

Print topic Send  topic

Author Message
Ron Mahon
Posted: 05/05/2002, 5:21 PM

I am trying to concatenate fields in to a new hyperlink to a external site.
There is a field that contains a picture (picture)
The following code works as a hyperlink.
fldpicture="<a href='http://obe2/hws/AdminMenu.asp'>"&fldpicture&"</a>"
What I want to do is concatenate the field information to build the URL string like
http://obe2/hws.com/party/<field value>/<fieldvalue>

fldpicture="<a href='http://obe2.com/hws/’ & flsparty_id “/” & “fldparty_id“'>"&fldpicture&"</a>"
or something like.

Can’t find a good tutorial on string concentration and can’t make this simple thing work
Don’t know why the, & is need on both sides of the link name (fldpicture) but it woks.
Can any one help?
Much appreciated
Ron
Nicole
Posted: 05/07/2002, 12:37 AM

Ron,
please try this code:
fldpicture="<a href='http://obe2.com/hws/" & flsparty_id & "/" & "fldparty_id & "'>"& fldpicture& "</a>"



   


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.