I'm using the PAU3 and the DW (CS6) Update Record Behavior in a form with also other fields and I need to know the size of the uploaded file. I create a hidden form field with the following value: <%= pau.Fields("FileField".Size %> exactly the same as in the insert record page. If I'd like to update some other fields but not change the uploaded file, the hidden form field value remains empty and change the database "FileSize" field with blank. If I'm not using the file size hidden field and I need to change the uploaded file, the size of the old file remains in the database. How can solve the above issue?
Unfortunately my problem isn't the file, because I use the file binding from my database as a value in the file field, as you already said. My problem is the File Size field that if I 'don't upload any new file during update, but only change other form fields, remains empty and updates the database with a blank value. Any ideas about it?