Hi Richard,
Not withstanding Captain Bruce's comments ..
If you're talking about having a netwebform with a file upload field on it, and you want to save the selected file (if uploaded) on insert or update, that's relatively straight-forward.
1. Assuming that the form is a FILE form for the tps file, In the ValidateAll, End embed, after running any manual code checks you need to (like is the filename not empty and does the file exist), put:
LOG:Photo = loc:filename
2. If the form is not for the tps file, then in that same embed you'd want to write some record retrieval and save code to wrap the above line.
** Another option is to create a routine that has the check + assignment code and then call it in the PostInsert and PostUpdate routines.
Not sure if that's what you were asking, but there you go.