title: Forget to reset parameter for production version
body: <p>I use TAdoconnection to access the database. 
  During development i set the connectionstring to my local database and set connected to true in order to get the information for the other dbcomponents. </p>
  
  <p>When I finalize the program for a customer I forget sometimes to reset the parameter, which leads to an exception on the customer computer because the connectionstring is invalid. </p>
  
  <p>I tried to put in the oncreate event of the datamodule (first line) a connected:=false but it seems to late.
  How can I make sure that it the program has the rigth settings for the customer? 
  I tried to set some parameter in in a conditional compiling phrase like:</p>
  
  <pre><code>{$IFDEF PRODUCT}
  param1:=..
  ....
  {$ENDIF} 
  </code></pre>
  
  <p>But I have no clue how to do this for visual components.</p>