Changing Datasource Active Property from True to False crashes IDE lazarus / 16-Databases ---------------------------------------------------------------------- waltmayo · 2012-01-26 16:26 Changing Datasource Active Property from True to False crashes IDE I have a program written using the DBF control and the Datasource control. If I change either one from True to False in the Active property, it crashes the entire IDE. Help! Walt ---------------------------------------------------------------------- TurboRascal · 2012-01-26 17:09 Did you point the TDbf control correctly to an existing .dbf file? The only crashes I ever had with TDbf were when it couldn't open a file... ---------------------------------------------------------------------- waltmayo · 2012-01-26 20:19 Yes... it's connected and data controls working fine. Program runs fine. But it won't allow me to change the filepath because the datasource control is active. When I try to change it to false, the IDE shuts down. Walt ---------------------------------------------------------------------- PeterK · 2012-02-06 15:58 Quote from: waltmayo on January 26, 2012, 05:26:43 pmChanging Datasource Active Property from True to False crashes IDE I have a program written using the DBF control and the Datasource control. If I change either one from True to False in the Active property, it crashes the entire IDE. Hi Walt, when I set DBF1.Active:= FALSE then App crashes - which is does not lead to a shutdown on my PC because I activated all DEBUG switches in the Project Properties Settings. Error Message is: "Operation cannot be performed on an inactive dataset." So, please, activate Debug Switches while developing (IO, Overflow, Stack etc. ..) Only disable them on compiling a release version of Your Application. Or when You code timecritcal things as device drivers or native Audio IO or so. Cheers, Peter