Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error when reloading document in QMC

Hello

Hoping someone can help.  I am having a problem when trying to reload a document using the QMC.  If I reload the document on my local desktop it works fine.  I moved the document to the server and opened it through the desktop and it reloaded with no problems.  However as soon as I try to reload via the QMC I get a General Script Error.

The document is using the wildcardmapping document taken from Rob Wunderlich's Cookbook.  I have adapted the wildmap table to my specific needs and am mapping to a qvd located on the server (paths to the qvd are correct)

The error in the log file is below, which doesnt make sense to me as the script works fine when reloading on desktop

Error: Error in expression:

       ')' expected

      General Script Error

Any help would be greatly appreciated

14 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Apparently the ReloadEngine has a problem with the pick() function or its parameters. I suggest replacing the stuff with chr(01) by some regular character like § (isn't used very often either) so that you can see where there is a missing replacement. I'm just guessing now, but I can't see those chr(01) characters either and the script clearly fails on something that shouldn't be there ("expecting a )").

Good luck,

Peter

Not applicable
Author

All, thanks for responses so far.  Peter, I will give your suggestion a try and report back. 

Not applicable
Author

Peter, thanks for your suggestion.  I tried what you suggested but that didnt work, however it got me thinking about characters in the tables.  It turns out that in my inline table , one of the fields contained an apostrophe. Taking this out made it run fine in QMC.  never really thought about that being an issue as it ran fine with the apostrophe outside of QMC.

Thanks again.

Duncan

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Mark your own answer as correct to close the discussion. The blue ballon in this discussion will turn green and that'll help people looking for answers.

Best,

Peter

sebastiandperei
Specialist
Specialist

You also use $(Claim_Circumstances) in Preceding load, and the field you are reading is [Claim Circumstances].... If the script you have sent was the same you used in QMC or Local, i cant understand how it works.