<doc>
  <legacy_id>3504</legacy_id>
  <name>queryRecordChanged</name>
  <type>message</type>
  <syntax>
    <example>queryRecordChanged <i>objectName</i></example>
  </syntax>
  <library>Database Library</library>
  <objects>
    <card/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
  </classification>
  <references>
    <command tag="revBrowserNavigate">revBrowserNavigate Command</command>
    <command tag="revBrowserSet">revBrowserSet Command</command>
    <message tag="browserDownloadRequest">browserDownloadRequest Message</message>
  </references>
  <history>
    <introduced version="2.9">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
    <disk access="???"/>
    <network/>
  </security>
  <summary>Sent to the current card of a stack containing a query object when that query object has been updated.</summary>
  <examples>
    <example>on queryRecordChanged pObjectName</p><p>  disable button "Apply" of me</p><p>end queryRecordChanged</example>
  </examples>
  <description>
    <p>Use the <b>queryRecordChanged</b> message to update controls on a card in response to a query object being updated.</p><p/><p><b>Parameters:</b></p><p>The <i>objectName</i> is the name of the query object that was updated e.g. "Query 1".</p><p/><p>The <b>queryRecordChanged</b> message is sent after the query has finished updating, but before any changes are displayed on screen. It can be sent when any of following events occur:</p><p/><p>- The current record number changes</p><p>- The query is connected (typically on <message tag="preOpenCard">preOpenCard</message>)</p><p>- The query is disconnected (typically on <message tag="closeCard">closeCard</message>)</p><p>- The query is modified in the Query Builder</p><p>- The user clicks a button that has been set to refresh the query.</p><p/><p>The <b>queryRecordChanged</b> message is only sent to stacks that contain query objects. For more information about query objects and how to create and use them see section 8.5 of the LiveCode User's Guide.</p>
  </description>
</doc>