Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Evaluation copy Pin
jhwurmbach5-Jan-04 22:13
jhwurmbach5-Jan-04 22:13 
GeneralWhy a pointer has no relavence outside the process Pin
Omar Alvi5-Jan-04 1:43
Omar Alvi5-Jan-04 1:43 
GeneralRe: Why a pointer has no relavence outside the process Pin
Duncan Edwards Jones5-Jan-04 1:55
professionalDuncan Edwards Jones5-Jan-04 1:55 
GeneralRe: Why a pointer has no relavence outside the process Pin
Iain Clarke, Warrior Programmer5-Jan-04 6:23
Iain Clarke, Warrior Programmer5-Jan-04 6:23 
GeneralRe: Why a pointer has no relavence outside the process Pin
David Crow5-Jan-04 7:39
David Crow5-Jan-04 7:39 
GeneralRe: Why a pointer has no relavence outside the process Pin
Iain Clarke, Warrior Programmer5-Jan-04 22:27
Iain Clarke, Warrior Programmer5-Jan-04 22:27 
GeneralShell extension and iwebbrowser2 Pin
Felix Gartsman5-Jan-04 1:43
Felix Gartsman5-Jan-04 1:43 
GeneralRe: Shell extension and iwebbrowser2 Pin
Iain Clarke, Warrior Programmer5-Jan-04 6:35
Iain Clarke, Warrior Programmer5-Jan-04 6:35 
GeneralRe: Shell extension and iwebbrowser2 Pin
Felix Gartsman5-Jan-04 7:26
Felix Gartsman5-Jan-04 7:26 
GeneralDlls Regarding Pin
Shenthil5-Jan-04 1:18
Shenthil5-Jan-04 1:18 
GeneralRe: Dlls Regarding Pin
valikac5-Jan-04 4:45
valikac5-Jan-04 4:45 
GeneralRe: Dlls Regarding Pin
Jörgen Sigvardsson5-Jan-04 9:55
Jörgen Sigvardsson5-Jan-04 9:55 
GeneralStupid Question Pin
TolTol5-Jan-04 1:10
TolTol5-Jan-04 1:10 
GeneralRe: Stupid Question Pin
Shenthil5-Jan-04 1:20
Shenthil5-Jan-04 1:20 
GeneralRe: Stupid Question Pin
TolTol5-Jan-04 4:09
TolTol5-Jan-04 4:09 
GeneralRe: Stupid Question Pin
Prakash Nadar5-Jan-04 5:05
Prakash Nadar5-Jan-04 5:05 
GeneralRe: Stupid Question Pin
TolTol5-Jan-04 5:53
TolTol5-Jan-04 5:53 
GeneralRe: Stupid Question Pin
Iain Clarke, Warrior Programmer5-Jan-04 6:39
Iain Clarke, Warrior Programmer5-Jan-04 6:39 
GeneralRe: Stupid Question Pin
Prakash Nadar5-Jan-04 12:10
Prakash Nadar5-Jan-04 12:10 
GeneralRe: Stupid Question Pin
Michael P Butler5-Jan-04 7:21
Michael P Butler5-Jan-04 7:21 
GeneralDrag from control to Explorer Pin
Anonymous5-Jan-04 1:10
Anonymous5-Jan-04 1:10 
GeneralRe: Drag from control to Explorer Pin
Prakash Nadar5-Jan-04 5:08
Prakash Nadar5-Jan-04 5:08 
GeneralRe: Drag from control to Explorer Pin
thowra5-Jan-04 13:44
thowra5-Jan-04 13:44 
GeneralWeird ODBC bug Pin
Salvador Dali5-Jan-04 0:39
Salvador Dali5-Jan-04 0:39 
I am using ODBC to connect to an ms access mdb file.
When trying to add a new recordset to an empty table, I get an error in CRecordSet::Update and the whole operation fails.
The code looks like this:

<br />
rs.Open(CRecordset::dynaset);<br />
rs.AddNew();<br />
rs.m_ent_id = 1;<br />
rs.m_ent_nom = "String data";<br />
rs.Update();    // This is where the exception is thrown<br />
rs.Close();<br />


I think the reason for this is that when Update() is called and the new record is added, it then tries to return to the previously selected record, which in this case doesn't exist.
Apparently, others have come across this, as can be seen here.

Any suggestions? Confused | :confused:

Have no fear of perfection - You will never reach it

GeneralRe: Weird ODBC bug Pin
Roger Wright5-Jan-04 6:05
professionalRoger Wright5-Jan-04 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.