<div dir="ltr">Hello,<br><br>I'm using Lazarus 0.9.29 r22691M FPC 2.5.1 x86_64-linux-gtk 2 (beta). <br>When I create a form and place in the uses section of the interface the data module, some forms with data aware components can find the datasource, while other forms with data aware components can not find the Datasources.<br>
<br>For example:<br><br>unit unit1;<br><br>interface<br>Classes , SysUtils , db , sqldb , XMLCfg , FileUtil ,<br> LResources , Forms , Controls , Graphics , Dialogs , DbCtrls , ExtCtrls ,<br> ComCtrls , StdCtrls , Buttons, dmDatabases;<br>
<br>type<br> TForm1 = class(TForm)<br> ...<br>end;<br>...<br>end.<br><br>unit unit2;<br>
<br>
interface<br>
Classes , SysUtils , db , sqldb , XMLCfg , FileUtil ,<br> LResources , Forms , Controls , Graphics , Dialogs , DbCtrls , ExtCtrls ,<br> ComCtrls , StdCtrls , Buttons, dmDatabases;<br>
<br>
type<br>
TForm2 = class(TForm)<br>
...<br>
end;<br>
...<br>
end.<br><br>The first form will find the datasource components on dmDatabases unit, while the second form will not.<br><br>What am I missing here ?<br><br>Thanks,<br>Ido<br clear="all"><a href="http://ik.homelinux.org/">http://ik.homelinux.org/</a><br>
</div>