ciklopo Posted December 9, 2004 Posted December 9, 2004 Hi, Sometimes, when importing XML data in FMPXMLRESULT via http, for example http://www.someserver.com/document.xml FM imports data very fast and perfect, but sometimes, without any logic, FM shows the color cursor "ad eternum" and have to force quit the application. Someone have any idea? What's wrong? Thanks
QuinTech Posted December 9, 2004 Posted December 9, 2004 Hi, ciklopo, and welcome to FM Forums. Can you post some examples of files that go quickly and files that take forever? The problem may be in the data itself, rather than in FM. Jerry
ciklopo Posted December 9, 2004 Author Posted December 9, 2004 Jerry, Thanks for reply. The problem is that the behaivor is related to the same file. For example in the ScriptMaker Script: Set Error Capture[On] Set Field ["Aux01" , "http://www.someserver.com/document.xml"] Import Records ["Restore" , "No Dialog", "Aux01"] if [status(CurrentError) ≠ 0 ] ....Some Steps if error else ....Some Steps if true end if What's wrong? :?
QuinTech Posted December 9, 2004 Posted December 9, 2004 And you've isolated the time drag to the import step? If not, i would make sure the import is the issue by putting a halt script right after the import and seeing if you still get the long wait. If the import is definitely the problem, can you rule out web latency as the culprit? Maybe the server you're connecting to is busier at certain times than at others. If you can, try to download the file onto your local machine and give it a few test runs. If the delay persists even when importing locally, i'd have to call that very weird. In my limited experience, if you have improperly formed XML you can't do an import at all, much less do several imports of different lengths. J
ciklopo Posted September 9, 2005 Author Posted September 9, 2005 Hi, I don't know what means isolated the time drag to the import step? Can you explain me? Thanks
Recommended Posts
This topic is 7016 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