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

 Stupid Upload Component Question

Print topic Send  topic

Author Message
advcomputer

Posts: 68
Posted: 07/06/2007, 1:27 PM

I am starting to use the file upload component and I have one or 2 questions.

When you put the control on a form. it places a fields on your form. Unlike the controls such as Label, Inout, etc, I dont seem to be able to get ot the properties of each field but rather justthe property of the whole control.

So if thats the case then;

1: what are the control name for each of the 3 controls that the component creates

2: How do you map those fileds to the database

Any help would be apprecaited.

Thanks in advance,

Jeff
View profile  Send private message
DonB
Posted: 07/07/2007, 7:45 PM

The only field that maps to the database is the filename. As to the field
names, if you load the page and examine the html, you'll see what html
elements are defined and what their names are.

For what it's worth, there's no magic to the CCS fileupload and if you need
special handling of a file upload you may be better off building your own.
The data is accessible in the $_FILES array and the filename is in the
$_POST array. The upload is entirely dealt with by PHP and you can handle
the On Click event of the form button to intercept the data and process it
however you need to.

--
DonB

http://www.gotodon.com/ccbth


"advcomputer" <advcomputer@forum.codecharge> wrote in message
news:2468ea59b9c4fb@news.codecharge.com...
> I am starting to use the file upload component and I have one or 2
questions.
>
> When you put the control on a form. it places a fields on your form.
Unlike the
> controls such as Label, Inout, etc, I dont seem to be able to get ot the
> properties of each field but rather justthe property of the whole control.
>
> So if thats the case then;
>
> 1: what are the control name for each of the 3 controls that the component
> creates
>
> 2: How do you map those fileds to the database
>
> Any help would be apprecaited.
>
> Thanks in advance,
>
> Jeff
> _________________
> Jeff Goldstein
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>


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.

Web Database

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.