Home | Products | Download | Support | News | Buy online


Site Index
- Products
- Download
- Support
- News
- Contact
- Buy online

 


   Upgrading SQLQuery to Delphi 6

The Delphi 6 version of SQLQuery doesn't register the class TSQLQuery any more. This is because Borland introduced a TSQLQuery class in the dbExpress package, and to avoid conflicts for new users installing SQLQuery under Delphi 6 we decided to change the class name to TcsSQLQuery.  Also note that SQLQuery version 4.0 probably won't have any backward compatibility with TSQLServer and TSQLQuery classes. All current customers are recommended to migrate to TcsDatabase, TcsQuery and TcsTable.

Recommended procedure

1. Update your application to use the new TcsSQLQuery class instead of using TSQLQuery. (You can use the  GExperts IDE expert from www.gexperts.org , it has an IDE expert to search and replace classes throughout a whole project.

Retaining the TSQLQuery classname

1. Start a new application in Delphi 6
2. Select menu Components - Install Package and uncheck the dbExpress package.
3. Select menu Project - Options and check the Default field
4. Close the project (remember to save it, you can delete the files afterwards).
5. Open the csOLDSQL.pas unit from the {$DELPHI}\SQLQuery\Source library.
6. Install the unit in an existing or new package.
7. Make sure that your package Requires-clause contains a reference to SQLQry60.DCP.

 

The Component Store Support Group

 

 

Home | News | Products | Download | Support
(C) Component Store Ltd. 2000