CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Clickable URL in DB field

Print topic Send  topic

Author Message
tommyh
Posted: 07/09/2002, 2:29 PM

I have a standard Apache-mysql-php setup. In my DB I have a field (loop) which I would like to link to pages outside of CCS. In the loop field, the data is the url of the pages I would like to link to. How do I make it where the user would click the link on a CCS grid or record have the link take them there.

If someone could point me in the right
direction it would be greatly appreciated

Thanks
tommyh
Chris K.
Posted: 07/09/2002, 2:59 PM

After creating grid, right click label (column) you want to make a link and select 'Change To' option. Select Link as new type. Open link's properties, Data tab. Select Source/Parameters property and choose Database Link Type, and select field to extract link from. Close dialog and select Absolute option in the Convert URL To property.
Hidran
Posted: 07/10/2002, 5:43 AM

Hi,
I was in the same situation trying to make an internet address clickable.
I did like you said: turned label into link then in parameter/source to database choosing the film with the URL and in Convert to :absolute but it puts the URL after the pagepath like: http://localhost/agencylist/www.address.com.
So, what's the possible way of making it go right to www.address.com.

The other solution is to write < A href="address"> text to clik</A> on the database and the on the grid put it as a label and content to html
tommyh
Posted: 07/10/2002, 6:27 AM

Thank you for your response Chris. After trying your suggestions I end up with the same thing as Hidran. It seams that CCS is adding the path where the CCS project resides. I’m open to any other suggestions. Again thanks for the response.

tommyh
Chris K.
Posted: 07/10/2002, 3:29 PM

The problem is you should always keep absolute URLs in the database. www.address.com is not valid url, put http:// in the beginning, keep http://www.address.com. Alternatively you can add this 'http://' to the database url in BeforeShow event.
t
Posted: 12/10/2002, 4:05 PM

t
ttest
Posted: 12/10/2002, 4:05 PM

Any one found the solution.?

   


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.