<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi<br>
      <br>
      Yes In cases where the component is on a data module.&nbsp; Basically
      the component is a Query component and should be linked to a
      database / connection component.&nbsp; There is one of these in the app
      and all db components should connect to this.&nbsp; However it appears
      that some old components (possibly from when the app was BDE
      based) didn't have that set and had just defaulted to the
      'Default' connection.&nbsp; The updated component version now nicely
      reports this as an error.&nbsp; So instead of searching for all times
      this error occurs I would rather do a dfm search (all components
      created in code are correctly instantiated) .<br>
      <br>
      Cheers<br>
      Rob<br>
      <br>
      <br>
      On 10/09/2013 4:46 p.m., Jeremy Coulter wrote:<br>
    </div>
    <blockquote
cite="mid:CAGYhmGj_zoPRsCwZ-7ZiSWtYQTtR5vy+mmYmdY7DiQhCj-eR8w@mail.gmail.com"
      type="cite">
      <div dir="ltr">so have you hard coded the property on the control
        itself rather than in code ?
        <div><br>
        </div>
        <div>Jeremy</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Sep 10, 2013 at 4:26 PM, Robert
          Martin <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:rob@chreos.co.nz" target="_blank">rob@chreos.co.nz</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
            <br>
            I don't think they were ever set correctly. &nbsp;Might have to
            make a tool<br>
            to deal with it!<br>
            <br>
            Cheers<br>
            Rob<br>
            <div>
              <div class="h5"><br>
                <br>
                &nbsp; On 10/09/2013 3:02 p.m., John Bird wrote:<br>
                &gt; I have a tool that can search DFM too, but it can
                find where a property is<br>
                &gt; set, not where there is no setting.<br>
                &gt;<br>
                &gt; I do know this problem, have seen a large program
                (D5) where occasionally a<br>
                &gt; navigation control datasource setting was lost. &nbsp;
                Because there were so many<br>
                &gt; data modules this was a real nuisance, I found the
                best way was to compare<br>
                &gt; all the DFM files with the SVN repository where the
                settings were known to<br>
                &gt; be correct and that often saved a pile of time -
                and also showed what the<br>
                &gt; correct setting was as well.<br>
                &gt;<br>
                &gt; Of course if the setting has never been there then
                you have to do something<br>
                &gt; smarter and a special tool may be needed.<br>
                &gt;<br>
                &gt; John Bird<br>
                &gt;<br>
                &gt; -----Original Message-----<br>
                &gt; From: Robert Martin<br>
                &gt; Sent: Tuesday, September 10, 2013 12:16 PM<br>
                &gt; To: NZ Borland Developers Group - Delphi List<br>
                &gt; Subject: [DUG] Finding all instances of a component
                where a property has<br>
                &gt; notbeen set<br>
                &gt;<br>
                &gt; Hi all<br>
                &gt;<br>
                &gt; We have a large app where there are some components
                (database connection<br>
                &gt; components) where a property has not been set but
                should have been. &nbsp;A<br>
                &gt; recent component update by the author has bought
                this to our attention,<br>
                &gt; now we just need to find all of them and fix.<br>
                &gt;<br>
                &gt; I have a tool to search dfm files but in this case
                we want to find only<br>
                &gt; instances of a component without an entry for a
                property. &nbsp;Is there an<br>
                &gt; easy way to do this or do I need to build a tool?<br>
                &gt;<br>
                &gt; Cheers<br>
                &gt; Rob<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; _______________________________________________<br>
                &gt; NZ Borland Developers Group - Delphi mailing list<br>
                &gt; Post: <a moz-do-not-send="true"
                  href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
                &gt; Admin: <a moz-do-not-send="true"
                  href="http://delphi.org.nz/mailman/listinfo/delphi"
                  target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
                &gt; Unsubscribe: send an email to <a
                  moz-do-not-send="true"
                  href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a>
                with<br>
                &gt; Subject: unsubscribe<br>
                &gt;<br>
                &gt; _______________________________________________<br>
                &gt; NZ Borland Developers Group - Delphi mailing list<br>
                &gt; Post: <a moz-do-not-send="true"
                  href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
                &gt; Admin: <a moz-do-not-send="true"
                  href="http://delphi.org.nz/mailman/listinfo/delphi"
                  target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
                &gt; Unsubscribe: send an email to <a
                  moz-do-not-send="true"
                  href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a>
                with Subject: unsubscribe<br>
                &gt;<br>
                &gt;<br>
              </div>
            </div>
            &gt; -----<br>
            &gt; No virus found in this message.<br>
            &gt; Checked by AVG - <a moz-do-not-send="true"
              href="http://www.avg.com" target="_blank">www.avg.com</a><br>
            &gt; Version: 2013.0.3392 / Virus Database: 3222/6650 -
            Release Date: 09/09/13<br>
            <div class="HOEnZb">
              <div class="h5">&gt;<br>
                &gt;<br>
                <br>
                _______________________________________________<br>
                NZ Borland Developers Group - Delphi mailing list<br>
                Post: <a moz-do-not-send="true"
                  href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
                Admin: <a moz-do-not-send="true"
                  href="http://delphi.org.nz/mailman/listinfo/delphi"
                  target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
                Unsubscribe: send an email to <a moz-do-not-send="true"
                  href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a>
                with Subject: unsubscribe<br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <p class="" avgcert""="" color="#000000" align="left">No virus
        found in this message.<br>
        Checked by AVG - <a moz-do-not-send="true"
          href="http://www.avg.com">www.avg.com</a><br>
        Version: 2013.0.3392 / Virus Database: 3222/6650 - Release Date:
        09/09/13</p>
    </blockquote>
    <br>
  </body>
</html>