0 Replies Latest reply: May 7, 2013 10:36 AM by Micael Leal RSS

    OCX doesn't takes correctly variable string (C#)


      I noticed reccently that all variables in QlikView which has a space in a string aren't taken correctly.



      Variable name         Value


      myvar                     Is A Test


      If I do in C#:


          private Doc qvReport = null;

          qvReport = axQlikOCX1.OpenDocument(filepath, "", "");

          list.Add(new QlikViewVariable(v.Name, qvReport.GetVariable(v.Name).GetRawContent().ToString()));


      When I do the last line, QlikView returns me only "Is" instead of whole chain "Is A Test".


      I tried to do a




      And in fact, taking it from QlikView doesn't returns the complete variable string, but stops at the first space he finds.


      Any suggestion?