Filemaker 7 getURL weirdness...

I have spent a total of about 8 hours trying to troubleshoot why a simple getURL command to open a remotely hosted Filemaker database when executed from within an idle loop will not function.

What makes this so weird is that the same looping script functions perfectly with another database on the same host, and if I excerpt the script and run it as it’s own script or applet, it works fine. I build the URL from variables and in the Event Log, the last event executed by the script that fails is the exact same syntax as the script outside the idle loop that works.

Does anyone have any idea why this might be happening?

Any direction on this would be greatly appreciated.

Thanks. Here’s the syntax:

set db2use to "eSys" tell application "FileMaker Pro 7" if exists document db2use = false then getURL "FMP7://192.168.0.50/" & db2use & ".fp7" end if end tell