Delete all attachment from a specific record using the ninoc code
How can I delete all the attached files from a specific record using the ninox code?
This is not (yet) possible :-(
And Birger it is possible to delete only one attachment with programming code
If that attachment is displayed in an Image field you can:
'image field' := null
Yes I know that, but if I use directly in the attachment, no way?
The wish for a function to delete one or all or specific attachments from the "Attachments" tab is already added to our "Change requestes" database. We hope to be able to release it in one of our upcoming versions.
Kind regards, Jörg
Hello Guys I found an alternative for this problem.
You have to duplicate the current record, which will transfer all the data except the attachments and image fields.
After that you have to delete your original record;
For instance your button code will look like:
let new := duplicate (this);
P.S. Be careful with this one! It might not transfer everything!
- 2 yrs agoLast active