EPUB | CHM | PDF

FAQ - Question #3

Top Previous Next

Q. How can I set database connection properties (eg. coCompress) from code?

A. Try the following code:

 

mySQLDatabase1.ConnectOptions := mySQLDatabase1.ConnectOptions + [coCompress];

 

Don't forget to add mySQLTypes to your uses list.

 

Questions list