Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"Script Can not be found or has been Deleated"

Featured Replies

I have assigned a script to a button, but when I click the button, I receive the error message that says this script can not be found or has been deleated. HOWEVER, after I click OK on that message, IT RUNS THE SCRIPT. I have tried deleating the button and recreating it, and reassigning the script but I still get the same error message. Any suggestions?

Hi Kristen,

If you could provide your script, it would help but I would guess that you may have a sub-script within your main script and the sub-script has been deleted. Or it references an external script to a related db which has been moved to another location. And so, after clicking okay, the remaining portion of your main script continues to run. smile.gif

Cheers,

LaRetta

  • Author

I thought of that also, but I checked all of the referenced fields, databases, and relationships and they still exist. This is the script:

Set Field[buyerConstanat::zv.layout.g, Status(currentLayoutNumber)]

If [not is empty(BuyerNumber)]

Go to Related Record [buyer]

Perform Script [External Buyer.fp5, "OPS: Enter Buyer"]

Else

Show Message [buttons: "OK", "Cancel",""; Data: "You must first enter a valid BUYER NUMBER for this vehicel."]

End If

THANK YOU

Go to your Buyer.fp5, open Scripts and look at your script called OPS: Enter Buyer. If it's there, check it for sub-scripts. Repeat as necessary through all sub-scripts and their sub-scripts. smile.gif

It's one of the pitfalls of including Perform Scripts from within a script (chaining scripts). There are many benefits however, so I'm not against it ... particularly when logical or for external scripts, but I tend to write complete scripts whenever possible. It reduces the possibility of this type of problem.

LaRetta

  • Author

THAT's IT!!!! Thank you. There was a missing sup script within the subscript that was causing this. Thanks a ton...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.