BOOL CanUpdate( );
throw( CDaoException, CMemoryException );
Return Value
Nonzero if you are permitted to modify the querydef; otherwise 0.
Remarks
Call this member function to determine whether you can modify the querydef — such as changing its name or SQL string. You can modify the querydef if:
This depends on whether you have implemented security features. MFC does not provide support for security; you must implement it yourself by calling DAO directly or by using Microsoft Access. See the topic "Permissions Property" in DAO Help.
For information about querydefs, see the article DAO Querydef in Visual C++ Programmer's Guide.