????? ????? ????? ?? ???? ????? Foundation

?????? ????????? ?????? ?????????
???? ???????: 110508 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

??????

??????? ??????? 2.5 ?????????? ?????? ?? ???? Foundation Microsoft (MFC) ?? ????? ????? ???????? ??????? (ODBC) API (????? ????? ?????????) ?????? ??? ???????? ?????????. ??? ????? ????, ????? ODBC ???? ????? "???? ??????" ?????? ??????? ??? ????????. ???? ?????? ?? ?????? ?? ???????? ???? ???? ?? ???? ??????? ?? ?????? ?? ????? ???????? (??? ???? ??????? FoxPro ? Access ? SQL Server ???) ?? ????? ?????? (??? ???? ??????? ???? ?? ???? ???????). ????? ???? ?????? ?????/???? ? ??????? ??? ??? ????? ??? ???? ???????? ??????? ?????????. ?????? ???? ???? ???????? ?????? ?????? CDatabase::ExecuteSQL() "???????? ????? ?????? ????? CREATE TABLE SQL.

?????? ??? ??????? ?????? ??? ????? ???? ?????? ??????? ?????? ?????? article(s) ??????? ?? "????? ??????? ?? Microsoft:
110507????? ????? ????? ?????? ODBC ??? ????
??????: ?? ????? ????????? ???????? ??? ??? ??????? ?? '??????? ?? ?????? MFC' ???? ??? ????? ?? 4.0 Visual C++. ???? ?????? ??? ????? ??? ??????? ??? ???????? ?? ???? ????? ?? "SQLConfigDataSource" ????? ??????? ?????? ' FAQ: ??????? ????? ???? ???????? ODBC '.

??????? ????

?????? ???? ?????? ?????? "????? ODBC" ? ????? ????? ?????? ???? ?? ???? ???? Windows ???? ??????? "ODBC" ?????? ????.

????? ?????? ?? ????? ????????? ??? ???? ?????? FoxPro ??????? ?????? ????????. ??? ???? ???? ???????? ???? ?????? ?? ???? ?? ??? ????? (?? ?????? ?????? dBASE ?? FoxPro ?? ???? ??? .DBF). ????? ????? ???????? ?????? ??? Microsoft Access ? SQL Server ????? ????????? ??? ????? ??? ????? ???? ??????. ??? ???? ??????? ??? ??????? ?????? ????? SQL Server ODBC ? ???? ??????? ????? ???? SQL ?????. ????? ?????? ????? ODBC Access Microsoft ???? ??? .MDB ??? ????? ???? ??????. ??? ????? ???? ?????? ODBC ?????? ?? ???? ?????? "????? ODBC" ? ??? ???? ???????? ????? ????? ??? .MDB ?? ????? ????? ??? .MDB. ?? ??? ???? ????? ?????? ????? ??? .MDB ?? ??????? ????? ??. ????? ??? ??? ??????? ????? ?? ????? ??? ???????? ?? ???? ?????? Access (.MDB ???) ? ?? ??????? ?????? ?? ???? ???? ??? .MDB ???? ???? ????? ????????? ?? ??? ??? ?????? ????.

????? ?? ???? ???? ???? ?????? ????? ???? ????? ????? ??????? ?????? ???????? ?????? CDatabase::ExecuteSQL() ????? CREATE TABLE SQL. ??? ???? ??????? ??? ??? ???? ???? ????? ?????? ???? myDB ????? ??????? ????????? ???????? MFC ??????? ?????? ????:
   myDB.ExecuteSQL("CREATE TABLE OFFICES (OfficeID TEXT(10)"
                   ", OfficeName TEXT(10))")
				
???????? ???????? ????? ?????? ???? ???? "???????" ?? ???? ???????? ???? ???? ???????? myDB; ????? ?????? ??? ????? "OfficeID" ? "officename".

??????: ?? ????? ????? ?????? ??????? ?? ????? CREATE TABLE SQL ???????? ??? ?????? ????? ODBC ???? ???????. ??? ???? ??????? ??? ????? ?????? ????? ODBC Btrieve "?????" ????? ?? ??? "??" ?? ????? CREATE TABLE ?????. ?????? MSQUERY ?? ??? ????? ??????? ?? ?? ????? ?????? ???????? ????? ??????. ?? MSQUERY ? ??? ??? ????? Table_Definition ? ??? ???? ?? ???? ?????? ?? ???? ??? ??? ???????? ?? ???? ????? ???? "???".

?????

????? ?? ????????? ??? ????? ???????? ???? ?? "????? ?????? ???? ??????" ?? ????? ???????.

???????

???? ???????: 110508 - ????? ??? ??????: 07/???? ??????/1435 - ??????: 3.2
????? ???
  • Microsoft Foundation Class Library 4.2, ????? ?????? ??:
    • Microsoft Visual C++ 1.5 Professional Edition
    • Microsoft Visual C++ 1.51
    • Microsoft Visual C++ 1.52 Professional Edition
    • Microsoft Visual C++ 2.0 Professional Edition
    • Microsoft Visual C++ 2.1
????? ??????: 
kbnosurvey kbarchive kbmt kbdatabase kbhowto kbprogramming KB110508 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????110508

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com