Jump 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.

HELP! Script works in Debugger and when local but not on Server.

Featured Replies

Hi all. I have a script that performs finds across records in several tables and sets foreign keys to allow summing at a higher level, using several self-join relationships.

the script works perfectly when i have the file stored locally. once i put it on the FM8A server, it does not seem to update the records every time. although if i walk through the debugger while its on the server, it will update the records and works perfectly.

I have no idea what would cause it to act differently on the server. its almost as if it is running too fast to update, because if i step through it in the Debugger it works fine. Does anyone have any ideas??

Thank you!!

Could be any number of things, including record locking by other users.

Try posting a jpg of the script steps; it might help clarify.

  • Author

thanks for the reply. i dont think it was record locking since i was the only user in the file at the time. also the related records that are being updated in the scipt will only be accessed by the individual who created them. the main script does call two subscripts, i wonder if that has anything to do with it.

i know that the calculations and script work, its the inconsistency when its on the server that really bothers me. is there any possibility that it is a cache issue or something like that?

once i get more time ill try and post the script.

thanks!

Are you using any Plug-Ins?

I've experienced identical problems with a couple of plug-ins that I use.

Edited by Guest

  • Author

no plugins. i added a 'freeze window' script step at the beginning of the scripts based on someones recommendation, and it *seems* to be helping, although i have NO idea why that would make any difference. i also lowered the cache a little, just to experiment.

im still stumped on the cause though.

You might try a pause script for one second in various places in your script. Just to see what happens. Sometimes it's very telling.

Clarification:

Placing a pause script step in your script in various places, one at a time will not always tell you WHAT the problem is but it will ususally tell you WHERE the problem is.

Edited by Guest

Do you have any file references?

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.