Find active Table by UIDThe overloaded method CTDatabase::FindActive() locates an active table given its UID number and returns the active table object pointer. The following example shows how to check if a table is active using its UID number. // check if atable is active, by UID CTBOOL IsTableActive(CTDatabase& ADatabase, ULONG uid) {
return (ADatabase. FindActive(uid) != NULL) ? YES : NO; } |
|||