Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
michelivor
New Contributor III

Strange Mapping Load and ApplyMap

Hi,

I found one thing today that I've never seen before and can't understand. Re-writing a script as part of migrating an QV environment to a new server and QDF for a customer. I stumbled upon a script where the ApplyMap (for a certain map) was before the Mapping Load.

Checking the log, yes ApplyMap was some 350 rows before Mapping Load.

  • ErrorMode is set to 1 (default)
  • No Subroutines or Included scripts.


Anyone who can give me a hint how this can work, something I haven’t thought of???

Regards

//Michel

Tags (2)
14 Replies

Re: Strange Mapping Load and AppplyMap

And this runs without any errors?

michelivor
New Contributor III

Re: Strange Mapping Load and AppplyMap

Yes, it shure does...

Re: Strange Mapping Load and AppplyMap

Any hiddent script which might have another mapping load? The hidden script are usually at the beginning and they won't even show up on the log file

michelivor
New Contributor III

Re: Strange Mapping Load and AppplyMap

No, not that either.

I have a couple of times, when designing the UI, ended up where I have had to throw away an object due it crashed. Throwing it away and re-writing it will do the trick but never with the script, never during my 15y developing QV apps.

Re: Strange Mapping Load and AppplyMap

My experiences is far less than yours, but I have not heard of something like this before... so I am in the same boat as you are....

Would it be possible to share the snippet of the log file?

michelivor
New Contributor III

Re: Strange Mapping Load and AppplyMap

Not at the moment, I'm not at the office right now.

See if I can do it tomorrow.

Re: Strange Mapping Load and ApplyMap

Any chance that this code in the wrong order is embedded in SUBroutines?

Re: Strange Mapping Load and ApplyMap

BTW ApplyMap before Mapping Load works in all version of QlikView before 12.10. It won't produce any errors and neither will it produce any decent output. Just NULL values.

binujose1982
New Contributor III

Re: Strange Mapping Load and ApplyMap

Hi Michel,


As Peter mentioned, ApplyMap before mapping Load works in all version of QlikView before 12.10.


I have faced this issue when, I migrate Qlikview 11 to 12. As a quick fix, i moved Maaping load script just before the apply map statement.


Hope this will help you..


Regards,

Binu

Community Browser