Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

error when reloading

I am getting a script line error when reloading my qvd file. the error message is in the image attached

40 Replies
MK_QSL
MVP
MVP

Looks like error in your Variable Creation...

can you post your variable definition...?

Not applicable
Author

error1.png

Not applicable
Author

where do I find this?

simenkg
Specialist
Specialist

your WeekEND() and WeekStart() are empty. They Take arguments.

This looks like you are using a variable wrong. if you are using WeekEnd(vVariable) try WeekEnd($(vVariable)). If this still gives the same error try WeekEnd('$(vVariable)')

Hope this helps

Regards
SKG

Not applicable
Author

So I go into settings then variable overview, find vMaxWeek then what? 

simenkg
Specialist
Specialist

No, this is an error in the script.

You open your script editor (CTRL + E) and change it where it is defined in the script.

find the line that starts with

let vMaxWeek = ...

And change what stands between the () in WeekEnd and WeekStart

martynlloyd
Partner - Creator III
Partner - Creator III

Please post the whole line here so we can edit for you.

Regards.

Not applicable
Author

script.png

Not applicable
Author

Ok so I looked everywhere in the edit script but it is not there. A consultant made this for us but it looks like he included script from another file (picture below) but even when I hide the script nothing changes script.png