Dear Visual C++ developer,

Thanks for downloading this example program.
The source codes of this program is available at:
http://www.yeohhs.com/mybooks.htm

The default database and table created are shown below.
char cHost[256] = "localhost"; // mysql server is installed on a local PC
char szDB[]     = "MyData" ;  // the database that we will use


mysql> describe mybooks_info;
+---------------+----------------------+------+-----+---------+-------+
| Field         | Type                 | Null | Key | Default | Extra |
+---------------+----------------------+------+-----+---------+-------+
| Title         | varchar(80)          | YES  |     | NULL    |       |
| Author        | varchar(80)          | YES  |     | NULL    |       |
| Publisher     | varchar(80)          | YES  |     | NULL    |       |
| ISBN          | varchar(16)          | YES  |     | NULL    |       |
| CatalogNo     | varchar(16)          | YES  |     | NULL    |       |
| Price         | double(8,2) unsigned | YES  |     | NULL    |       |
| DatePurchased | date                 | YES  |     | NULL    |       |
| StoreID       | varchar(40)          | YES  |     | NULL    |       |
| CategoryID    | varchar(40)          | YES  |     | NULL    |       |
| LocationID    | varchar(40)          | YES  |     | NULL    |       |
| Remarks       | text                 | YES  |     | NULL    |       |
+---------------+----------------------+------+-----+---------+-------+
11 rows in set (0.44 sec)

If you have purchased the example code, you can freely customize MyBooks
to suit your needs.
To purchase the MyBooks example code, please visit:
http://www.yeohhs.com/mybooks.htm

Best Regards,
Yeoh
--


