Click here to Skip to main content
16,010,290 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Redefinition Pin
Maximilien8-Sep-05 5:59
Maximilien8-Sep-05 5:59 
AnswerRe: Redefinition Pin
David Crow8-Sep-05 4:32
David Crow8-Sep-05 4:32 
QuestionProblem with worker thread Pin
ashtwin8-Sep-05 4:06
ashtwin8-Sep-05 4:06 
AnswerRe: Problem with worker thread Pin
David Crow8-Sep-05 4:34
David Crow8-Sep-05 4:34 
AnswerRe: Problem with worker thread Pin
Marc Soleda8-Sep-05 4:37
Marc Soleda8-Sep-05 4:37 
AnswerRe: Problem with worker thread Pin
Jim Howard8-Sep-05 12:54
Jim Howard8-Sep-05 12:54 
AnswerRe: Problem with worker thread Pin
ThatsAlok8-Sep-05 18:16
ThatsAlok8-Sep-05 18:16 
QuestionEdit a record in a DB table opened with ODBC Pin
sirtimid8-Sep-05 3:52
sirtimid8-Sep-05 3:52 
I open the table and I search in it row by row as follows:
TableSet->Open();
TableSet->MoveFirst();
while(!TableSet->IsEOF()) {
if(TableSet->m_field1 == id) {
TableSet->Edit();
TableSet->m_field2 += 10;
TableSet->Update();
} else {
TableSet->MoveNext();
}
}
The problem is that when the program goes in the if statement (the row has been found), and it is the first row of the table, the update operation returns:
'No rows where affected by the update or delete operation'
If this is not the first row the update operation success.

Does anyone know why does this happen?

Thanks in advance

sirtimid

AnswerRe: Edit a record in a DB table opened with ODBC Pin
David Crow8-Sep-05 6:01
David Crow8-Sep-05 6:01 
QuestionUsing the Registry Pin
sweep1238-Sep-05 3:39
sweep1238-Sep-05 3:39 
AnswerRe: Using the Registry Pin
kakan8-Sep-05 3:55
professionalkakan8-Sep-05 3:55 
AnswerRe: Using the Registry Pin
Marc Soleda8-Sep-05 4:02
Marc Soleda8-Sep-05 4:02 
AnswerRe: Using the Registry Pin
David Crow8-Sep-05 7:40
David Crow8-Sep-05 7:40 
Questionhow do I turn off a hidden variable?? Pin
IlanTal8-Sep-05 3:37
IlanTal8-Sep-05 3:37 
Questionmap<string, set<string> > Pin
Achim Klein8-Sep-05 3:15
Achim Klein8-Sep-05 3:15 
AnswerRe: map<string, set<string> > Pin
Niklas L8-Sep-05 3:42
Niklas L8-Sep-05 3:42 
GeneralRe: map<string, set<string> > Pin
Achim Klein8-Sep-05 4:01
Achim Klein8-Sep-05 4:01 
AnswerRe: map<string, set<string> > Pin
Niklas L8-Sep-05 3:58
Niklas L8-Sep-05 3:58 
GeneralRe: map<string, set<string> > Pin
Niklas L8-Sep-05 4:01
Niklas L8-Sep-05 4:01 
GeneralRe: map<string, set<string> > Pin
Achim Klein8-Sep-05 4:08
Achim Klein8-Sep-05 4:08 
GeneralRe: map<string, set<string> > Pin
Niklas L8-Sep-05 4:29
Niklas L8-Sep-05 4:29 
GeneralRe: map<string, set<string> > Pin
Achim Klein8-Sep-05 5:43
Achim Klein8-Sep-05 5:43 
Questionfunction pointers and dlls Pin
dave2k8-Sep-05 2:50
dave2k8-Sep-05 2:50 
QuestionAbout Wizard based project Pin
parims8-Sep-05 1:53
parims8-Sep-05 1:53 
AnswerRe: About Wizard based project Pin
Cedric Moonen8-Sep-05 2:07
Cedric Moonen8-Sep-05 2:07 

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.