CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Link to specific folder

Print topic Send  topic

Author Message
jcarlee68


Posts: 7
Posted: 02/23/2012, 5:47 PM

Hi
I'm not a programmer but a web enthusiast that likes to creates some controls for my day-to-day tasks. I work on the engineering department for an electronics company....
I have a problem with a page that I designed...:(
I designed a mySQL database and a web page using CCS 4.3 for all the Drawing designs that my department created in the last 3 years.
The physical files are stored in a file server that is categorized in folders and subfolders as follows:

-DesignFiles >>>Main folder
-0000-0500 >>>Category
-DMT0000001 >>>>Design Folder
-DMT000001A.ZIP >>>>File & Rev
-DMT000001B.ZIP
.
.
-DMT0000002
.
.
- DMT000500
- 0501-1000 and so on....

In the database I can access all the general information for each design such as number, description, requester, etc. Everything works fine to access the information in my webpage.

The problem is that one of the columns is the Folder Address where each design revision resides. I tried to add a link that opens the folder location in the server (in a normal Explorer Window, not in the browser)
I tried to take the address for the Link from the database using different values but did not work.
In the database I have a column called folderaddress where all the values has the following format:

file://\\DesignFiles\0000-0500\DMT0000001

IF I put this string on the web browser address bar, it takes me directly to the folder where I have the info, but in the code for the link does not work...
Maybe this is something simple, but my knowdlege is limited to CCS manual and the forums...:*)

Thank you in advance for your help!
JC


View profile  Send private message
phpminer

Posts: 28
Posted: 02/23/2012, 6:36 PM

I think prefixing the slashes with a slash may fix it . . . . try this instead within your code.

file://\\\\DesignFiles\\0000-0500\\DMT0000001
View profile  Send private message
jcarlee68


Posts: 7
Posted: 02/24/2012, 11:15 AM

I tried as you mentioned and !!!It Did work!!!:-D
Just I had to make a small change...only one slash before the subfolders
At the end, I ended up changing my database with the folder address as follows:

file://\\\\DesignFiles\0000-0500\DMT0000001

Thank you very much for your help!
I owe you a beer, phpminer...:*)
JC
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.

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.