December 9, 200421 yr 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
December 9, 200421 yr 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
December 9, 200421 yr Author 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? :?
December 9, 200421 yr 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
September 9, 200520 yr Author Hi, I don't know what means isolated the time drag to the import step? Can you explain me? Thanks
Create an account or sign in to comment