Environemnt: VC++6,Access DB via ODBC. How would one determine if a table exists in the database. I have tried "SELECT * FROM TABLE_NAME" where TABLE_NAME is the table I want to check for existence. Thinking I would get an error or invalid return, Yet the the error gets trap and an caught before I can get to it or test for a return condition? There has to be an easy way to check for table existance. RIGHT? Thanks for any help --Errol
Errol
Posts
-
Does Table Exist -
call W32 API from MFC appIf include the "winbase.h" header file the complier complains c:\program files\microsoft sdk\include\wininet.h(297) : error C2146: syntax error : missing ';' before identifier 'dwResult' c:\program files\microsoft sdk\include\wininet.h(297) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers c:\program files\microsoft sdk\include\wininet.h(297) : error C2501: 'dwResult' : missing storage-class or type specifiers thanks again
-
call W32 API from MFC appI think it's a simple question yet have not found ANY answers. I would like to call BOOL CopyFileEx( LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags ); in my MFC app. No luck... what am I missing? Thanks:confused: