CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 file upload problem

Print topic Send  topic

Author Message
itzumar

Posts: 88
Posted: 11/11/2012, 9:40 AM

Hi!

I upload few files thorgh record form and file saved in folder. but when i want to open a file throgh report i unable to open becuase in database just file name is saving and not the folder in which files are storeed.

can anybody help me?
_________________
Umar
View profile  Send private message
bannedone


Posts: 273
Posted: 11/11/2012, 10:02 AM

Hi

All you gotta do is either add your upload directory to the upload control data like so in both the before build insert and before build update.

$Container->Your_Upload_Control_Name->SetValue($Your_Upload_Dir_name.$Container->Your_Upload_Control_Name->GetValue());

Or add to the ink in your report the upload dir name.

In both cases be sure you include the / at the end of your upload dir name.

Note: you might need to do some stuff in the delete events to ensure the file gets deleted. Don't have time right now to test that for you. Let me know if you have issues with that.

Have Fun
8-)


_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2
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.