Newbies Bassem Posted March 26, 2003 Newbies Posted March 26, 2003 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.
Lee Smith Posted March 26, 2003 Posted March 26, 2003 Hi, I have heard of this before, The cure as I remember it was to rewrite the script involved and delete the old one and the problem went away. HTH Lee
Newbies Bassem Posted March 26, 2003 Author Newbies Posted March 26, 2003 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
Ugo DI LUCA Posted March 26, 2003 Posted March 26, 2003 I did encounter this also, but I fixed it when I removed from my hard disk a copy of my files. I imagined FM couldn't choose which file to execute the script on. I may be wrong but it is fixed right now. Not on a server though...
Newbies Bassem Posted March 26, 2003 Author Newbies Posted March 26, 2003 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
Newbies Bassem Posted March 26, 2003 Author Newbies Posted March 26, 2003 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
BobWeaver Posted March 26, 2003 Posted March 26, 2003 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.
Pupiweb Posted March 27, 2003 Posted March 27, 2003 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
Recommended Posts
This topic is 7916 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 accountSign in
Already have an account? Sign in here.
Sign In Now