Skip to content

Commit 92d65df

Browse files
author
Colin Robertson
committed
Fix stray return
1 parent 4b1ed03 commit 92d65df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/mfc/tn054-calling-dao-directly-while-using-mfc-dao-classes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ The V_BSTRT macro, along with other techniques to open other types that are stor
6060
Situations may arise when it is necessary to refresh the underlying DAO collection objects. Normally, this should not be necessary, but it is a simple procedure if it is necessary. An example of when a collection might need to be refreshed is when operating in a multiuser environment with multiple users creating new tabledefs. In this case your tabledefs collection might become stale. To refresh the collection, you simply need to call the `Refresh` method of the particular collection object and check for errors:
6161

6262
```cpp
63-
DAO
64-
_CHECK(pMyDaoDatabase->m_pDAOTableDefs->Refresh());
63+
DAO_CHECK(pMyDaoDatabase->m_pDAOTableDefs->Refresh());
6564
```
6665
6766
Note that currently all DAO collection object interfaces are undocumented implementation details of the MFC DAO database classes.

0 commit comments

Comments
 (0)