Click here to Skip to main content
15,877,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mapi problem Pin
ThatsAlok11-Mar-06 0:00
ThatsAlok11-Mar-06 0:00 
QuestionWindow Message Pin
Nishad S2-Mar-06 2:05
Nishad S2-Mar-06 2:05 
AnswerRe: Window Message Pin
Stephen Hewitt2-Mar-06 2:24
Stephen Hewitt2-Mar-06 2:24 
AnswerRe: Window Message Pin
Malli_S2-Mar-06 2:42
Malli_S2-Mar-06 2:42 
AnswerRe: Window Message Pin
Robert W.2-Mar-06 3:52
Robert W.2-Mar-06 3:52 
QuestionCustom Recordset Building...! Pin
Malli_S2-Mar-06 1:42
Malli_S2-Mar-06 1:42 
AnswerRe: Custom Recordset Building...! Pin
BlackDice2-Mar-06 4:51
BlackDice2-Mar-06 4:51 
QuestionRe: Custom Recordset Building...! Pin
Malli_S2-Mar-06 19:03
Malli_S2-Mar-06 19:03 
Thanks BlackDice !
I was using the same logic before i.e. create table wala. Yours one is really nice code ! It worked fine ! one more problem i suffered is that, i couldn't update the rows of the recordset. I've put the code showing how I coded. Can you get me some help, to update the recordset (insert record or update values of fields).

sprintf(SqlTempQuery,"select cast('FieldValue' as varchar(20)) as testcolumns from tmptable");
pTemRec->Open(SqlTempQuery,_variant_t((IDispatch *) pConn, true),adOpenDynamic,adLockBatchOptimistic,adCmdText);
pTemRec->AddNew("testcolumn","10"); //this line gives runtime error//

Error Description what I got from catch block is : "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done."May I get more light on the issue... Get me some logic to get work done...!!!


-Malli...!
Questionmasking Pin
srija2-Mar-06 1:35
srija2-Mar-06 1:35 
AnswerRe: masking Pin
toxcct2-Mar-06 1:45
toxcct2-Mar-06 1:45 
GeneralRe: masking Pin
srija2-Mar-06 1:56
srija2-Mar-06 1:56 
GeneralRe: masking Pin
toxcct2-Mar-06 2:01
toxcct2-Mar-06 2:01 
Generalbinary to decimal Pin
srija2-Mar-06 5:05
srija2-Mar-06 5:05 
QuestionRe: binary to decimal Pin
David Crow2-Mar-06 6:42
David Crow2-Mar-06 6:42 
AnswerRe: binary to decimal Pin
chaitanya222-Mar-06 6:55
chaitanya222-Mar-06 6:55 
GeneralRe: binary to decimal Pin
srija2-Mar-06 7:40
srija2-Mar-06 7:40 
QuestionRe: binary to decimal Pin
David Crow2-Mar-06 7:42
David Crow2-Mar-06 7:42 
AnswerRe: binary to decimal Pin
srija2-Mar-06 7:05
srija2-Mar-06 7:05 
AnswerRe: masking Pin
walter762-Mar-06 1:55
walter762-Mar-06 1:55 
QuestionCustom Recordset Pin
Malli_S2-Mar-06 1:32
Malli_S2-Mar-06 1:32 
AnswerRe: Custom Recordset Pin
Xing Chen2-Mar-06 15:18
Xing Chen2-Mar-06 15:18 
QuestionHow to wait untill created process finishes. Pin
9ine2-Mar-06 0:37
9ine2-Mar-06 0:37 
AnswerRe: How to wait untill created process finishes. Pin
Stephen Hewitt2-Mar-06 0:48
Stephen Hewitt2-Mar-06 0:48 
GeneralRe: How to wait untill created process finishes. Pin
9ine2-Mar-06 2:06
9ine2-Mar-06 2:06 
GeneralRe: How to wait untill created process finishes. Pin
Stephen Hewitt2-Mar-06 2:15
Stephen Hewitt2-Mar-06 2:15 

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.