[SOLVED] Datasources in a datamodule aren't available for one form lazarus / 16-Databases ---------------------------------------------------------------------- micheus · 2013-07-04 23:34 I started a small project with 1 DM and 4 Forms (3 of them using the DM). All was fine and suddenly only the login form doesn't "see" the components into the DM anymore. I tried to add new TDBEdits and in the DataSource property I always see (none). In the source code I'm able to type damMain. plus any component name inside it and the auto complete fills it correctly. (and yes, I added the DM in the Uses clausule of the form  ) So, is there any "special" file used by Lazarus that could be corrupted or something else? Any idea about what happened? Thanks Micheus ---------------------------------------------------------------------- Pascaluvr · 2013-07-05 01:46 Is your Datasource in the DataModule ENABLED? ---------------------------------------------------------------------- micheus · 2013-07-05 19:16 Pascaluvr, thank you for answer. Yes, and I checked it again. The problem is already present at design-time and only with this specific form (that was working before). You can see it on this 41s video I made for better show my issue. I'm finding I'll need to rebuild this form. ---------------------------------------------------------------------- micheus · 2013-07-05 19:31 Just now, it has occurred me try to remove the file from project and add it back - It worked!  - File->Remove from project; - I commented any reference in the other files to this form; - Rebuild the project CTRL+F9; - After checked OK, File->Save All and Quit from Lazarus; - Load Lazarus again; - Load the problematic file and File->Add Editor File to Project... ... and I already was able to see the datamodules on that DM. So, it seems there is some extra information, in some place, being used by Lazarus. ---------------------------------------------------------------------- otorres · 2013-07-05 22:03 I actually use the DataSet's in DataModule and the DataSource's in the Form that need connect to DataSet. Regards.