Click here to Skip to main content
15,894,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple Computers accessing the same file Pin
JstDaNuGuy28-Dec-05 9:58
JstDaNuGuy28-Dec-05 9:58 
GeneralRe: Multiple Computers accessing the same file ( edit) Pin
Maximilien28-Dec-05 10:05
Maximilien28-Dec-05 10:05 
Questionmaintaining a logfile Pin
RabiaAslam28-Dec-05 6:50
RabiaAslam28-Dec-05 6:50 
AnswerRe: maintaining a logfile Pin
Maximilien28-Dec-05 7:53
Maximilien28-Dec-05 7:53 
QuestionMFC MDI : StartUp Child like Macromedia Pin
BrownJacket28-Dec-05 6:43
BrownJacket28-Dec-05 6:43 
QuestionCRecordset update Pin
pnpfriend28-Dec-05 6:05
pnpfriend28-Dec-05 6:05 
QuestionRe: CRecordset update Pin
David Crow28-Dec-05 9:57
David Crow28-Dec-05 9:57 
AnswerRe: CRecordset update Pin
pnpfriend28-Dec-05 12:15
pnpfriend28-Dec-05 12:15 
Just at that two rows, David.
I try to call the same function that Update the recordset using CRecordset::Edit() and CRecordset::Update() serveral time to see. whenever it reachs to those rows, the exception got thrown and couldnt' catch with CDBException or CException.
If I skip using row number 600, like
if(rownum == 600)
rs.MoveNext();

I got stack at row number 953 and then.. if I skip that row using same way as 600 (if statement), I got error again at another rows.. all the way down somewhere.. it is like keep comming up once in awhile. I dont' get error at every single row but certain rows.

So I try to catch error with catch(...) and able to use sql command to update at first row which is rownum=600. but the following record which was able to update before using if statement to skip rownum=600, can't update any way anymore.. either using CRecordset::Update() or ExecuteSQL().



AnswerRe: CRecordset update Pin
pnpfriend10-Jan-06 7:56
pnpfriend10-Jan-06 7:56 
QuestionRe: CRecordset update Pin
David Crow10-Jan-06 7:59
David Crow10-Jan-06 7:59 
QuestionLooking for code to learn from. Pin
dbough28-Dec-05 4:51
dbough28-Dec-05 4:51 
AnswerRe: Looking for code to learn from. Pin
David Crow28-Dec-05 5:33
David Crow28-Dec-05 5:33 
AnswerRe: Looking for code to learn from. Pin
Prakash Nadar28-Dec-05 5:42
Prakash Nadar28-Dec-05 5:42 
AnswerRe: Looking for code to learn from. Pin
Bob Stanneveld28-Dec-05 5:54
Bob Stanneveld28-Dec-05 5:54 
GeneralRe: Looking for code to learn from. Pin
John R. Shaw28-Dec-05 16:06
John R. Shaw28-Dec-05 16:06 
GeneralRe: Looking for code to learn from. Pin
Bob Stanneveld29-Dec-05 6:11
Bob Stanneveld29-Dec-05 6:11 
AnswerRe: Looking for code to learn from. Pin
Gary R. Wheeler28-Dec-05 6:00
Gary R. Wheeler28-Dec-05 6:00 
AnswerRe: Looking for code to learn from. Pin
dbough28-Dec-05 6:41
dbough28-Dec-05 6:41 
GeneralRe: Looking for code to learn from. Pin
John R. Shaw28-Dec-05 16:52
John R. Shaw28-Dec-05 16:52 
QuestionGet flicker free image Pin
sam o neil28-Dec-05 4:26
sam o neil28-Dec-05 4:26 
AnswerRe: Get flicker free image Pin
John R. Shaw28-Dec-05 17:05
John R. Shaw28-Dec-05 17:05 
Questionmaintain logfile of the accessed files Pin
RabiaAslam28-Dec-05 3:09
RabiaAslam28-Dec-05 3:09 
AnswerRe: maintain logfile of the accessed files Pin
vipinasda28-Dec-05 3:41
vipinasda28-Dec-05 3:41 
AnswerRe: maintain logfile of the accessed files Pin
David Crow28-Dec-05 5:36
David Crow28-Dec-05 5:36 
AnswerRe: maintain logfile of the accessed files Pin
basementman28-Dec-05 5:38
basementman28-Dec-05 5:38 

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.