Hello Mr.CDB,
Thank you verry much for your help, sir.
I'm using your code in the Delete button.
Its working good, it can delete the files and the photos
But unfortunately, its deleted after I push Delete button
Not after the Yes button in conformation windows.
(After I push delete button, confirmation windows show
2 option button Yes and Cancel button).

So how to make it work in the Yes button in confirmation windows?.
I cannot access it, because confirmation windows is builtin MVD, not a regular form.
Please help me, sir.
Thank you.

Hello Sir,
I need help, when i delete a record/data with the atachment/DBFile (i use "LinkFile") from TableGrid, the record is deleted but the attachment is not (its still there in the folder).
What I want is when I delete a record from TableGrid, the attachment (DBFile) is deleted too, how to do that?.
Please help me Sir, thank you.