Rene S
|
| Posted: 05/12/2005, 1:51 PM |
|
Hello,
Using: XPpro, Asp, IIS 5.1, ccs2.3.25, persits upload
I'm trying to ad a path to a file before it is inserted into my database. The persits upload works, it uploads to where I want it to. However, I need to change the database insertion of the filename into that path+"filename-generated by upload". I used a suggestion from Peterr (somewhere in the forum) but I looks like it does not change anything.
This is the solution I tried in the "Before Build Insert" event of the form "fotos":
fotos.DataSource.FileUpload1.Value = "images/" & fotos.DataSource.FileUpload1.Value
When I look into database, it still uses the "root"path.
Any ideas?
Thank you,
Rene
Very Happy CCS user
|
|
|
 |
Rene S
|
| Posted: 05/13/2005, 7:27 AM |
|
Hi,
Found it. Persits was causing errors and messed everything up. New install fixed the problem.
Rene
A very happy CCS user
|
|
|
 |
|