title: Problems with Rave Reports 7.7BE scripts
body: <p>I have an application that uses Rave Reports.</p>
  
  <p>After upgrading from Delphi 2006 to Delphi 2010 some scripts stopped working and gives an 
  <strong>Access violation message</strong></p>
  
  <p>I have a script that looks like this:</p>
  
  <p><strong>OnGetText:</strong></p>
  
  <pre><code> IF  (ddvDetailTaxidEventType.AsInteger = 1)  THEN
      Value := 'TEST ' + ddvDetailTaxidEventType.AsString ; 
  ELSE
       Value := 'TEST ';  
   END IF;
  </code></pre>
  
  <p>This script works in Rave 6.5BE(D2006) but not Rave 7.7BE (D2010)</p>
  
  <p><strong>Note:</strong></p>
  
  <p><strong>Command</strong> :    Value := 'TEST ' + ddvDetailTaxidEventType.AsString ;</p>
  
  <p>works without the  If and EndIf statements.</p>
  
  <p><strong>Command</strong> :   Value := 'TEST '; </p>
  
  <p>works without the  If and EndIf statements.</p>
  
  <p><strong>Command</strong> :    if (ddvDetailTaxidEventType.AsInteger = 1)  THEN</p>
  
  <p>Gives the Access violation message</p>
  
  <p><strong>Command</strong> :    if (ddvDetailTaxidEventType.AsString = ‘1’)  THEN</p>
  
  <p>Gives the Access violation message</p>
  
  <p><strong>I just don’t see where I am going wrong…</strong> </p>
  
  <p>please help.</p>