CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Link to local path

Print topic Send  topic

Author Message
JimbobGilb

Posts: 28
Posted: 10/16/2012, 8:03 AM

Maybe a simple answer but i am trying to link in a grid to a local path eg C:\Folder\File.xls from a database field but the link does not seem to work. it seem to put File:/// in front of the path making it unusable.

Any suggestion would be appreciated.

Thanks,
View profile  Send private message
solesz

Posts: 137
Posted: 10/16/2012, 9:50 AM

I guess you picking the file name through a form.
If yes, it is normal to have the file:/// prepositions. It is used, when you want the browser to open a file file for you. If you want the file name without this prefix, then you have the option to get the rigth part of the string using this http://w3schools.com/vbscript/func_mid.asp

You have to give the string and the position (length of the prefix) where you want the remaining part of the string.

Put it into the before insert/before update event.
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.