@Ttcoton Thanks for the detailed explanation on the script.
Thanks again Derek. Also The "hotspot" feature is really awesome. But it seems not to be working if the command is set to linkto instead of copyto.
I need the file to be save inside the Attachments folder with the MVD folder on the shared folder for our lan (5 people), so that when adding the attachments the other person can also see it on their end. I tried to use the script on the Attachment1 and Attachment2 but to no avail that is why I am using the old
Form1.DBImage1.loadfromdatabase('docmaster','attachment1', Form1.TableGrid1.dbitemid);
and a button.
Can your hotspot feature work with the "linkto" option? It will be really nice.
by the way if I share the sqllite.db on the LAN, the database get shared but the attachments aren't seen. Should I just create a shortcut of the app itself on the shared folder and share that the desktop of the users?
Sorry for asking a lot of questions.
If others have ideas, please don't hesitate to share it as well. Thanks guys!