January 14, 200917 yr How is the best way to delete a container's image file that is a referenced (not stored in FM) within FileMaker script?
January 14, 200917 yr Author Thanks but I am interested in breaking the reference and deleting the externally stored image file in a script.
January 14, 200917 yr Oh, thought that was too easy. Use Doug Gardner's trick. Isolate a zero found set. Then Export Records (no records, actually) without a dialog using the path of the file you wish to delete. FM will delete the file.
January 14, 200917 yr Bob Bower's trick is much simpler: http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000819 --- WARNING: Be careful with this - it deletes files. Edited January 14, 200917 yr by Guest
Create an account or sign in to comment