What is the best practice to create delphi database application, in terms of where to put the DB component ? Maybe its quite difficult to understand my question :)
Here is the situation :
I would like to use TinyDB component (http://www.sunisoft.com/tinydb/
). It is a nice very small database package. It consists of 2 components, TinyDatabase and TinyTable.
Usually, I have a main form, called "MainForm". I put all the components there.
But, if I created other forms, for example "AddDataForm", I will loose the component reference there.
What is the best way for this ? So I can still refer the components from all forms in my application.
I guess, creating a somekind of global unit, and "create" the component during initialization will do the trick. But is there any way so I can still be able to access the component "visually" in the Delphi IDE ?
I hope you understand my question :)