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 |
 |
 |
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

_________________
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 |
 |
 |
|