# GrapeCity.ActiveReports.PageReportModel.ReportParameter.UsedInQuery

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_ReportParameter_UsedInQuery_" data-uid="GrapeCity.ActiveReports.PageReportModel.ReportParameter.UsedInQuery*">UsedInQuery Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_ReportParameter_UsedInQuery_" data-uid="GrapeCity.ActiveReports.PageReportModel.ReportParameter.UsedInQuery*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_ReportParameter_UsedInQuery" data-uid="GrapeCity.ActiveReports.PageReportModel.ReportParameter.UsedInQuery">UsedInQuery</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the parameter is used in a query within the report.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ReportParameterUsedInQuery UsedInQuery { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportParameterUsedInQuery.html">ReportParameterUsedInQuery</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportParameterUsedInQuery.html">ReportParameterUsedInQuery</a> value indicating whether the parameter is used in a query within the report.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_ReportParameter_UsedInQuery_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property helps determine if queries need to be re-executed when the parameter changes.</p>
    <p>
        <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportParameterUsedInQuery.html#GrapeCity_ActiveReports_PageReportModel_ReportParameterUsedInQuery_Auto">Auto</a> (default) automatically detects if the parameter 
is referenced in any query value expression. If so, it returns <code>true</code>; otherwise, <code>false</code>.</p>
</div>
</div>
