shannah wrote:... in tableA you upload a file named picture.jpg, but there is already a file by that name stored in a record in tableB, then it overwrite tableB's picture.jpg with the new one and have both the record from tableB and from tableA reference the same picture.jpg file?
Not exactly ... I am trying to let multiple records use the same file "picA.jpg" in the "repository" (the repository is the place where the container contents are stored, i.e. the savepath).
If a user tries to import a new file, that file is always copied to the repository (it would be convenient if there would be a warning about an existing file name popping up, but copying picA.jpg to picA-1.jpg would be ok for now).
But if an already existing file inside the repository is chosen on purpose, then nothing is copied but only the filename "picA.jpg" is entered into another record. So already existing content in the repository could be used multiple times.
If picA.jpg is removed later but may be referred to from different records, maybe nothing should be deleted to avoid cases where different fields point to the same file - this is certainly something that must be considered.
Maybe this is all the wrong idea and I should implement it differently?
The more I think about this, it seems clear that the file repository and the fields from my user form that contain the link to that file are two very different things/objects.
So probably what I really want is a file repository (e.g. for managing images or PDF files) and the possibility to just choose files from this repository for certain field content in my application. The first would be easy, the second I have no clue yet - how can I use a file-widget with a fixed "savepath" that will only store a filename/URL but not the contents? I tried without "Type=container" but it was not working as I expected

Bernd