Review

  1. How can you connect an ADO application to an ODBC data source?
  2. What is wrong with the following SQL statement?
  3.  SELECT * FROM authors WHERE au_lname LIKE M% 

  4. You need to open a CRecordset object so that you can list all the records in a database table to the printer. What value should you supply to the first parameter of the Open() function?
  5. What does the CRecordset::GetDefaultConnect() function specify?
  6. With which ADO object is the Errors collection associated? What does it contain?
  7. Which property of the ADO Data Control is used to specify an SQL command to retrieve records from the data source?

Answers



Microsoft Press - Desktop Applications with Microsoft Visual C++ 6. 0. MCSD Training Kit
Desktop Applications with Microsoft Visual C++ 6.0 MCSD Training Kit
ISBN: 0735607958
EAN: 2147483647
Year: 1999
Pages: 95

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net