First Steps
Previous  Top  Next


After the installation procedure as described in readme.txt the component palette of your Delphi or C++ Builder IDE contains an additional page called TurboDB and the contents of your online-help includes the TurboDB Components book. Under Kylix you have the TurboDB components palette as well, but the documentation is to be found in the htmldoc subdirectory in the form of HTML pages. The start page is called index.html.

A good point to start is the demo application included with your TurboDB Components package. It is to be found in the samples subdirectory of your installation folder. Just open the Delphi project file tdbdemo.dpr within the IDE and run it. Perhaps you have to adjust the database names of the TurboDB tables using the object inspector.

When you decide to start with your own project, you will need to create appropriate database tables. The TurboDB Components package includes visual tool called TurboDB Viewer for this and related tasks. It is located in the windows\bin or linux/bin subdirectory of your installation folder. Another way is to use the table component editor within the IDE.

To start a new project using TurboDB components you must:
1.Create a new project in the IDE.  
2.Add a TTdbTable component to your form for each database table you need.  
3.Open the component menu of each TTdbTable component and select Create Table to define the table schema.  
4.Set the Active property of the TTdbTable component to true, to open the database table.  
5.Be sure to have the windows\delphiX, windows\cbX or linux/ylixX subdirectory of your TurboDB installation folder included in the Delphi or Kylix search path. (Replace the X by your version of Delphi, C++ Builder or Kylix.)  

Use TurboDB Components as you are used to from the BDE database components. This online help documents each method and each property available with TurboDB Components.