Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
datanibbler
Champion
Champion

Still trouble with some (long-deleted?) variables - where?

Hi,

i still have the issue that there are some variables that should not be there anymore. I've looked through the variable_manager quite a few times and deleted all variables to recreate only those that I need, but they keep coming back.

I cannot find the point either in the script or in the log where they are created.

Specifically:

- There used to be a variable > edit_Gesamtwert < - now it's > Gesamtwert_€ < because that is the name of the field. But still, that
   old variable is around and I cannot find it in the log - it's like it wasn't there, but I can see it in an Input_box.

Is there any other place where this could be recreated every time?

Thanks a lot!

Best regards,

DataNibbler

2 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

In a macro? The API has a CreateVariable() method.

It's probably happening somewhere in your script code. Do you use "search" to look for occurrences of this variable name? It may be that the name is assembled from different parts at the time of creation, making it difficult to find the exact spot.

Another detection technique: at the end of the script run, does the variable contain a value? Can you narrow down the probable location by using trace statement to display the variable value? As soon as a non-empty value is printed, you know you're close...

Peter

marcus_sommer

Hi DataNibbler,

maybe your problem is more related to the automatic creation of variables: Re: Literals as sub parameters become variables.

- Marcus