Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
calc: threaded
I’m creating a database for third-party use
, I need the images stored in it to have standardized names, but I can’t leave this task to the end user. I need the images added to the image control in one of the forms (which is linked to a text field in one of the DB tables), to be renamed based on the ID
of the photo itself and the ID
of the object with which she’s on.
Example: maxresdefault.jpg > after selecting > 1.2.jpg > being 1 the ID of the object and 2 the ID of the photo, that is, there is a photo before this one linked to the same object, being 1.1.jpg.
It would be necessary to have a way to delete these images as well, so that images that are not being used in the database are not stored in the folder. All images are saved in the photos
folder, which is inside the database
folder, where the .odb
file is located, all this to allow portability from one system to another.