I am struggling with the same issue!
Ex16.2 step 4 is giving me a problem.
dmoLibrary.sdsBook.CommandType := ctQuery;
There is red line under only the ctQuery part which indicates it does not recognise it. It does recognise the first part (dmoLibrary.sdsBook.CommandType).
It gives an error: Undeclared indentifier 'ctQuery' at line 57 (57:35)
[DCC Error] AcquireBooku.pas(57): E2003 Undeclared identifier: 'ctQuery'
However
Ex16.2 step 5, 432 is fine
dmoLibrary.sdsBook.CommandType := ctTable;
The only difference is the form with which these commands are associated. It does not matter (as expected) whether it is ctTable or ctQuery. Therefore I have deduced something must be wrong with the form, TfrmAcquisition, but I cannot see where. Any suggestions were I can look for problems?