Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
steeefan
New Contributor II

Macro in Load Script appears as error

Hi everyone,

I noticed a strange behaviour of QlikView 12 considering macros in load scripts.

QV 12 underlines the part of the script where the macro is called as to highlight that this part of the code is wrong and would cause an error. The script runs through however without any errors caused by the macro, at least in a test case. I'm not experiencing this behaviour in QV 11.2 SR12. The following screenshots shows the different behaviours:

load-script-macro-12-vs-11.2.png

Is anyone else experiencing this bevahiour?

-Stefan

Side note: I am not running QV 12 and QV 11.2 on the same machine.

2 Replies
steeefan
New Contributor II

Re: Macro in Load Script appears as error

In the meantime I found a line like the one mentioned above which causes a load script to crash:

Trim(RegExFindFirst([Zuständiger Mitarbeiter], '[\w*üöä\-\s]*(?=\s\d)', '', 0)) AS zustMAClean,

The only thing I changed was upgrading from QV 11 SR12 to QV 12. I didn't change anyhting in the app itself.

Re: Macro in Load Script appears as error

I reported the syntax coloring issue on April 26 and it was assigned Bug id QV-6773.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

Community Browser