Qlik Community

QlikView Integration

Discussion Board for collaboration on QlikView Integration.

Not applicable

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

Hello,

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

E.g:

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

Console.WriteLine(qvReport.GetVariable(v.Name).GetRawContent().ToString());

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

Any suggestion?

Tags (2)
Community Browser