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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

error in storing text value in string in c#

I have written a program to get Text field from a qlik view chart from an application and copy it to word document. Suppose the text field has name Alex. It copies the word successfully Alex to word. Now i want to save Alex(Text field in string) How to do that?


case 6: //text
  
QVObject.GetSheet().Activate();
  
ReportControl.QVApp.WaitForIdle();

  
if (objectName == "TX01")
  
{
  
Console.WriteLine("I have found my fullname again");
  
// copy text field in global object tamp_val ----> error here
  tamp_val
= QVObject.CopyTextToClipboard();
  
Console.WriteLine(" this is my object type" + tamp_val);
  
// QVObject.CopyTextToClipboard();
  
}

  
QVObject.CopyTextToClipboard();
  
Console.WriteLine("Found TX item: {0}", objectName);
  
//pasteToWord(item);

  
break;

0 Replies