May 9, 201213 yr When I use the SCDelete cmd in a script to remove the SC file thus - Set Variable [ $result; Value:SCDelete ( "images/" & $ID ) ] If [ $result = "ERROR" ] Show Custom Dialog [ Message: "An error occurred: " & SCLastError; Buttons: “OK” ] Else If [ $result = "1" ] Show Custom Dialog [ Message: "SC file deleted."; Buttons: “OK” ] Delete Portal Row [ No dialog ] - the SC file is removed OK as is the associated FMP image record. However, there is a thumbnail of the SC file on the layout and this remains behind. I've tried refreshing the window, commiting the record, etc but its still there. The only thing that works is to go to Layout mode and then its gone when I return to Browse mode. What could I include in the script to remove the thumbnail?
May 9, 201213 yr A FileMaker: Set Web Viewer[ Action: Reload ] script step should work to reload the web viewer.
Create an account or sign in to comment