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

 show test

Print topic Send  topic

Author Message
sara
Posted: 04/07/2002, 3:30 AM

hii
i have a word pad that contain alot of text i put its link in the data base then i tried to show it in the code charge just like what we do with pictures it just that i dont know what is the event that makes it appears in the code chareg page can u help me in this
Artur
Posted: 04/08/2002, 4:54 AM

Hi,
put the text to memo field and display it in usual way
*sara
Posted: 04/09/2002, 6:55 AM






hii
but im using ms-sql server that doesnt contain a memo field it contain text up to 225 and i need more rage for text than this how can i make it !
Nicole
Posted: 04/10/2002, 12:37 AM

Sara,
in this case you should open the file, read its content into variable, and assign it to Label type field. Note, that probably you should replace carriage return symbol with <br> html tag in order to add line breaks to text content.
AudiTT @ Mci
Posted: 04/10/2002, 8:06 AM

Ok,

Use a "ntext" field type. This will allow some 1 million charicters.. (Not sure the real number).. I use this field type for anything I need over 255 in MS SQL.

If you want to use a field as a link, you need to do two things (My opinion.). If you don't want to store the link as <a href=... You will need to take the field (I will call it "StoredLink") that has the link (www.samplesite.com\document.txt) and make it into a hidden field.

Then, add a blank filed, and name it Link. This field will be a label, and be displayed as HTML. (Check box on the filed properties.)

Put this code in the before show event on the FORM, and not the page.

http = "<A Href=http://"
http1 = "fldStoredLink"
http_end = ">" & fldStoredLink & "</a>"
fldLink = http & http1 & http_end


I hope this helps.

Bryan

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

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.