Click here to Skip to main content
13,665,440 members

C / C++ / MFC

 
GeneralRe: What is the magic incantation to select a row in a CListCtrl in report mode ? Pin
David Crow9-Aug-18 9:47
memberDavid Crow9-Aug-18 9:47 
GeneralRe: What is the magic incantation to select a row in a CListCtrl in report mode ? Pin
Maximilien9-Aug-18 12:06
memberMaximilien9-Aug-18 12:06 
Questionhow to use recursive descent algorithm to compute an arithmetical expression? Pin
tony_ming8-Aug-18 20:42
membertony_ming8-Aug-18 20:42 
AnswerRe: how to use recursive descent algorithm to compute an arithmetical expression? Pin
Richard MacCutchan8-Aug-18 20:50
protectorRichard MacCutchan8-Aug-18 20:50 
AnswerRe: how to use recursive descent algorithm to compute an arithmetical expression? Pin
Stefan_Lang8-Aug-18 22:07
memberStefan_Lang8-Aug-18 22:07 
QuestionRe: how to use recursive descent algorithm to compute an arithmetical expression? Pin
David Crow9-Aug-18 4:55
memberDavid Crow9-Aug-18 4:55 
AnswerRe: how to use recursive descent algorithm to compute an arithmetical expression? Pin
CPallini9-Aug-18 10:38
mvpCPallini9-Aug-18 10:38 
QuestionMovePrev() throwing 265926 error code (End Of RowsSet). Pin
Sampath5797-Aug-18 20:19
memberSampath5797-Aug-18 20:19 
Hi
In my MFC application i am reading and MDB file using CCommand as follows:

CDBPropSet			cdbPropset;
CCommand <CAccessor<CMyClass>, CRowset> cCommand;
cdbPropset.AddProperty(DBPROP_CANSCROLLBACKWARDS, true);
cCommand.Open(m_pSessionManager->m_Session, csSQLQuery);
hr = cCommand.MoveFirst();
//insert some thing.
hr = cCommand.MovePrev();


In above code MovePrev() always throwing 265926 error code which is End Of RowsSet.

Can any on let me know whats wrong in my code.? Why record is not moving to previous row?

Thanks for the help.

modified 8-Aug-18 2:40am.

AnswerRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Jochen Arndt7-Aug-18 21:52
mvpJochen Arndt7-Aug-18 21:52 
GeneralRe: MovePrev() throwing -2147217837 error code Pin
Sampath5797-Aug-18 22:23
memberSampath5797-Aug-18 22:23 
GeneralRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Jochen Arndt7-Aug-18 23:26
mvpJochen Arndt7-Aug-18 23:26 
GeneralRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Sampath5798-Aug-18 0:01
memberSampath5798-Aug-18 0:01 
GeneralRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Jochen Arndt8-Aug-18 0:29
mvpJochen Arndt8-Aug-18 0:29 
GeneralRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Sampath5798-Aug-18 3:19
memberSampath5798-Aug-18 3:19 
GeneralRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Jochen Arndt8-Aug-18 3:21
mvpJochen Arndt8-Aug-18 3:21 
GeneralRe: MovePrev() throwing -2147217837 error code. Pin
Sampath57912-Aug-18 1:36
memberSampath57912-Aug-18 1:36 
QuestionRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
David Crow8-Aug-18 4:45
memberDavid Crow8-Aug-18 4:45 
AnswerRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Sampath5798-Aug-18 5:16
memberSampath5798-Aug-18 5:16 
QuestionRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
David Crow9-Aug-18 4:56
memberDavid Crow9-Aug-18 4:56 
AnswerRe: MovePrev() throwing 265926 error code (End Of RowsSet). Pin
Stefan_Lang8-Aug-18 21:44
memberStefan_Lang8-Aug-18 21:44 
GeneralRe: MovePrev() throwing -2147217837 error code Pin
Sampath57912-Aug-18 5:29
memberSampath57912-Aug-18 5:29 
QuestionMFC Icon indicator (red/green) Pin
Maximilien6-Aug-18 7:20
memberMaximilien6-Aug-18 7:20 
AnswerRe: MFC Icon indicator (red/green) Pin
Victor Nijegorodov6-Aug-18 8:04
memberVictor Nijegorodov6-Aug-18 8:04 
AnswerRe: MFC Icon indicator (red/green) Pin
_Flaviu6-Aug-18 19:55
member_Flaviu6-Aug-18 19:55 
QuestionFind element at given index after a number of rotations Pin
Tarun Jha5-Aug-18 10:16
memberTarun Jha5-Aug-18 10:16 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180810.1 | Last Updated 17 Aug 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid