Correct Trigger for database insertion ?
I am playing with file uploads and have tried to set the upload behavior to overwrite the file if a matching file is found.
However, I am wondering what trigger to set for database insertion.
Currently, the trigger is set to fire when upload is successful, which works fine if the upload behavior is to skip unload if a matching file is found.
If I set the upload behavior to overwrite, then the upload is deemed successful, but my database table then gets a second entry
i somehow need to capture the 'filewasoverwritten' parameter ?


