Part of update function: ---------------------------- m_set.m_pDatabase->BeginTrans(); m_set.Edit(); UpdateData(); m_set.Update(); // <--- it crashes here (showing error that no rows was modified) m_set Class is sent with another file