CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 upload change on insert

Print topic Send  topic

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

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.