Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Sub-Script non-execution


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

Recommended Posts

  • Newbies

I have encountered a very strange phenomenon in my DB: Sub-Scripts that used to run fine are being ignored. It is like my programming is starting to disintegrate. Did anyone of you encounter this problem. I am using FM 5.5 and 6 as well as FM Server 5.5. I tried all combination with the same effect.

Link to comment
Share on other sites

  • Newbies

Hi Lee,

I tried that. I also tried duplicating a script that is similar that ran well and changing it... now both don't run.

But its a bit comforting, that you heard of this before

Thanks

Bassem

Link to comment
Share on other sites

  • Newbies

I always stuff the files on my Mac before I use the server version. This problem still occurs if I am on a user computer. I also tried fixing it from the user computer as the files are online. When I tried fixing it on my Mac I disconnected it form the network so as to keep the server out.

Thanks though

Bassem

Link to comment
Share on other sites

  • Newbies

I found the error... and it qualifies as a FileMaker bug!

The script that did not execute was called from a script that was called by another. It seem that a "third level" call is ignored.

Cheers

Bassem

Link to comment
Share on other sites

When you call a subscript from your main script, make sure that you have the "Perform Sub-scripts" option checked. Otherwise, it won't allow your sub-script to call it's own sub-scripts.

Don't ask me why FMI made this optional. I've never found any reason why you would ever need to un-check it.

Link to comment
Share on other sites

This cannot be the reason

I don't remember off hand the "depth" subscripts can have but it is certainly more than 3 or 4 ...

Check if anywhere in the subscripts there is an Halt script step

Also double check any If () statement you might have used

Link to comment
Share on other sites

This topic is 7865 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.