Porting a BDE application to TurboDB
|
Previous Top Next |
1. | Install TurboDB Components within your Delphi IDE.
|
|
2. | Make a back-up of your BDE project and open it in the Delphi IDE.
|
|
3. | Place a TTdbTable object near each TTable component in your application.
|
|
4. | Right click on each TTdbTable component and select the "Convert BDE Table" command.
|
|
5. | Select the TTable component you want to convert.
|
|
6. | TurboDB will create a TurboDB table and copy the contents of the BDE table. It will also copy the properties of the BDE table component.
|
|
7. | Rename all TTable components and give the TTdbTable components the original name of the TTable components.
|
|
8. | If your project contains TQuery objects, replace them by TTdbQuery. You can just copy the SQL property value if necessary. See "Turbo SQL vs. Local SQL" for some minor incompatibilities.
|
|
9. | If your project contains a TDatabase and/or TSession object, replace it by a TTdbDatabase object.
|
|
10. | If your project contains a TBatchMove component, use a TTdbBatchMove component instead.
|
|
11. | Now compile and run your application. If you get error messages from the compiler or from your application, please consult "Differences between BDE and TurboDB".
|