CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 FileUpload not processed if Record had Errors

Print topic Send  topic

Author Message
matheus

Posts: 386
Posted: 09/14/2006, 12:34 PM

Okay, I have a FileUpload component. It's required.

In the same record, I have a Textbox, required too.

The problem is:

If I fill FileUpload and not fill Textbox the record give error because the Textbox, but the FileUpload process (upload) the file.

I need stop file processing if record had errors.

I try add Error in FileUpload, in Record, setValue null to FileUpload, he will always process the file.

Someone can help?
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
matheus

Posts: 386
Posted: 09/15/2006, 11:00 AM

Resolved.

In onValidate of Control FileUpload verify if hadErrors at Record.

If had, use method delete() of FileUpload.

It will delete file from temporary folder.

_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
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.

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.