That is not what I was saying. You have turned my structure upside down. I
have one main line script that calls other scripts in the same db. Then
those scripts call subscripts in other dbs. These lowest level subscripts
are not executing. FMP completely ignores them.
----- Original Message -----
From: "Stephen Wonfor" <[email protected]>
To: <[email protected]>
Sent: Tuesday, May 25, 2010 1:10 PM
Subject: Re: Subscript calling depth
Nicholas
But if you mean that you are calling scripts from other db's from one db I
can assure you that that form of logic does indeed work. I had a 120 file
solution that had one script from the MENU db executing 20 scripts in other
db's and some of these had one or more calls for scripts from other dbs.
Do you have any exit conditions in the subs? Do you test for MODE prior to
execution?
You might try putting dialog popups before the sub-call, then in the Sub
itself and then after. Perhaps it is executing but exiting at some failure
point.
Stephen
----------
"That's not right. That's not even wrong." — Wolfgang Pauli.
On May 25, 2010, at 11:01 AM, Stephen Wonfor wrote:
Nicholas
In FMP5.5 a script in one file can only act on that file. A reusable
script would, by necessity, need to exist in every file where you would
want to use it. Is that what you mean?
Stephen
----------
"A man who carries a cat by the tail learns something he can learn in no
other way."---Mark Twain
On May 25, 2010, at 10:46 AM, Nicholas Geti wrote:
I am using FMPro v2.2 and trying to build several small scripts that can
be called as needed from a main script. But if one of the small scripts
calls a script in another table, FMP never arrives at this lowest script.
It is completely ignored. I can get the logic to work if I replace the
Perform of the main script with its equivalent small script but this
defeats the purpose of reusable scripts.
Is there any way around this?