Jump to content

SCDelete doesn't remove thumbnail image from layout


This topic is 4393 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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?

Link to comment
Share on other sites

This topic is 4393 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.