CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: papakarlo

Search: Search took 0.05 seconds.

  1. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    I think its problem with driver. Because i did all with Access and PostgreSQL .SDI and Dialog . Its work .Only with foxpro 9 not .
  2. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    IF it is not clear . program crash in Update () function. Are you think i am not check where it is crush?
  3. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    it a full text
    DBMS: Visual FoxPro
    Version: 03.00.0000
    ODBC Driver Manager Version: 03.52.0000
    First-chance exception at 0x7c809f52 in step_111.exe: 0xC0000005: Access violation reading location...
  4. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    1)This database that i did in foxpro9 . employees.dbf
    2)I am open it by
    CString Cstep_111Set::GetDefaultConnect()
    {
    return _T(/*"DSN=TestDB;DBQ=H:\\המסמכים שלי\\Visual FoxPro...
  5. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    Why if i try add new note function m_pSet->Update(); newer work all time i get message
    "Cannot add a new record!"
    void Cstep_111View::On_ADD_BUTTON(void)
    {

    /*CWnd *myEdit =GetDlgItem...
  6. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    Hi
    I unchecked bind all fields but it dont helped. I get also m_nFields = 0
    so i do it manually i changed all code like
    IMPLEMENT_DYNAMIC(Cstep_111Set, CRecordset)
    ...
  7. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    yes
    in my code i have
    #include "stdafx.h"
    #include "step111_new.h"
    #include "step111_newSet.h"

    #ifdef _DEBUG
    #define new DEBUG_NEW
    #endif
  8. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    I am trying build application that can retrieve data from my database . change data by use of my application , add data .
  9. Replies
    16
    Views
    2,766

    Re: problem with ODBC DATABASE

    yes its a CRecordset

    IMPLEMENT_DYNAMIC(Cstep111_newSet, CRecordset)

    Cstep111_newSet::Cstep111_newSet(CDatabase* pdb)
    : CRecordset(pdb)
    {
    m_nFields = 0;
    m_nDefaultType = snapshot;
    }
  10. Replies
    16
    Views
    2,766

    problem with ODBC DATABASE

    Why after creating project MFC with database support and adding database that i created with foxpro 9 all time property m_nFields = 0;
    After that i get Assertion failure if i stat debugging? ...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured