title: Writing to custom QC fields from QTP
body: <p>I'm using QTP and QC 11 and am attempting to update a custom field in QC with details of a failed test (so we can easily see why a test failed without opening up the test run).</p>
  
  <p>I've created a memo type field on the testcycle and on the run field.</p>
  
  <p>My QTP code is as follows:</p>
  
  <pre><code>Dim oTestInTestSet, oCurrentRun
  Set oCurrentRun = QCUtil.CurrentRun
  Set oTestInTestSet = QCUtil.CurrentTestSetTest
  oTestInTestSet.Field("TC_USER_25") = Environment("CriticalError")
  oTestInTestSet.Post
  oCurrentRun.Field("RN_USER_13") = Environment("CriticalError")
  </code></pre>
  
  <p>The run table is updated ok but the testcycle table is not.  I can manually force the update (when the code is interrupted) by using the command tab - but this is no good when I am running tests from QC!</p>
  
  <p>Any ideas why this might be happening?  This used to work in QTP10.</p>