Ok, I learned something today
This is happening in a netwebform procedure where I collect data not just for one file but also for several related files (using a wizard for this, but that's not really important, I think). In addition, the user may also upload one or more documents to complete the data capture and the documents will in turn get saved in the data base as well.
All the files involved are listed as Other files in the procedure.
In the PostInsert routine of the form I have code to insert records in all of the files, the only thing that didn't work was saving the documents in blobs. But FILETOBLOB was doing it's job and did not complain in any way. There was just nothing in the blob field.
Here's what I learned: Apparently you must explicitly OPEN a file with a blob, otherwise nothing gets put in the blob and you do not get any warning! What confused me was that all the other fields got updated like they should.
I don't know if this has to do with NetTalks way of handling files or if it's plain common knowledge that I missed on the way. But it's working now
Peter
PS - Johan, thanks for your time.