office2000要把97的数据库转成2000的才可以写,这点你可以用2000打开97的库看到!!!

解决方案 »

  1.   

    不要用DAO了,微软已经明确DAO已经被淘汰.
    用ADO,或OLE DB.
      

  2.   

    r3000():
      "微软已经明确DAO已经被淘汰."??
      哪儿来的消息??
      

  3.   

    可能与DAO驱动程序有关,全部都装上统一DAO驱动程序试试
      

  4.   

    在你的程序中加进这样一句
    在BOOL CXXXXApp::InitInstance()中
    AfxGetModuleState()->m_dwVersion = 0x0601;//让DAO支持ACCESS2000;
      

  5.   

    zym_famous(famous) 能不能具体说说这是为什么?
      

  6.   

    为何不用win98 + office2000 平台?用VC+SP5
      

  7.   

    现有的MFC CDaoDatabase等类不支持 office2000,可以通过修改源代码来完成。 AfxGetModuleState()->m_dwVersion = 0x0601; 
    Insert this line in the CYourApp::Initinstance() function of your program. If you are building with the static MFC libraries, following are the steps to get static builds of MFC to use DAO 3.6: 
    1) Modify the Daocore.cpp file in the MFC SRC directory. You will receive the following comment:// Determine whether to use DAO 3.6, 3.5, or 3.0
    // Use DAO 3.0 if DLL build and not built with MFC 4.21 or later
    // Use DAO 3.6 if MFC 6.01 or later
    // otherwise, DAO 3.5 
    Add the following lines:#undef _MFC_VER
    #define _MFC_VER 0x0601 
    2) Rebuild the library for the variant you need. For example, to build the static MFC library, debug version, non-Unicode, with no browser files use the following command at the command prompt in the MFC\SRC folder:  nmake DEBUG=1for release:
       nmake DEBUG=0for unicode builds:
       nmake DEBUG=1  UNICODE=1
       nmake DEBUG=0  UNICODE=1 
      

  8.   

    在微软的网站,不过有约130M多,最好买张D版 SPK2002