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

 What triggers first? AfterProcessFile or AfterInsert/AfterUpdate?

Print topic Send  topic

Author Message
favc4

Posts: 30
Posted: 07/02/2006, 2:01 AM

Hi there, does anyone knows when using a FileUpload within a record form wich triggers first? AfterProcessFile or AfterUpdate?

Thanks


Carlos
_________________
Programming win32 and went crazy...
View profile  Send private message
DonB
Posted: 07/02/2006, 2:07 PM

The file is uploaded before the insert/update executes - when the form
parameters are collected from the POST data. This is before the 'what
button was pressed' check is even performed. Next, once the button-press is
checked, the database insert/update is performed. Lastly, the 'move' method
is called on the upload component. Thus, the AfterExecuteUpdate event fires
before the AfterProcessFile

--
DonB

http://www.gotodon.com/ccbth


"favc4" <favc4@forum.codecharge> wrote in message
news:644a78b6b439ad@news.codecharge.com...
> Hi there, does anyone knows when using a FileUpload within a record form
wich
> triggers first? AfterProcessFile or AfterUpdate?
>
> Thanks
>
>
> Carlos
> _________________
> Programming win32 and went crazy...
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.