Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHandle of an item in tree view. Pin
priyank_ldce3-Jan-07 5:07
priyank_ldce3-Jan-07 5:07 
AnswerRe: Handle of an item in tree view. Pin
led mike3-Jan-07 5:54
led mike3-Jan-07 5:54 
GeneralRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 6:27
Ray Kinsella3-Jan-07 6:27 
GeneralRe: Handle of an item in tree view. Pin
led mike3-Jan-07 8:16
led mike3-Jan-07 8:16 
AnswerRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 6:22
Ray Kinsella3-Jan-07 6:22 
GeneralRe: Handle of an item in tree view. Pin
led mike3-Jan-07 8:14
led mike3-Jan-07 8:14 
GeneralRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 11:15
Ray Kinsella3-Jan-07 11:15 
QuestionMFC /CRecordset Pin
Bravoone_20063-Jan-07 3:13
Bravoone_20063-Jan-07 3:13 
My aplication : CDialog
i have this error: "error retrieving record" !
my column type ->Numeric,were i try to replace ;
this is my code :

CWaitCursor wait; // Display a wait cursor
CText pTextp;
CString sTemp,sTemp1,sTemp2,sTip1,sTip2,sConturi1,sConturi2,sTest1,sAnul1,
sLuna,sLuna1,sZiua1,sData,sSoldCr;

m_1.GetWindowText(pTextp.sText4);
pTextp.sText4.TrimLeft();
pTextp.sText4.TrimRight();

m_2.GetWindowText(pTextp.sText3);
pTextp.sText3.TrimLeft();
pTextp.sText3.TrimRight();

CRecord_test pBun;
pBun.m_strFilter="password="+ pTextp.sText3;
pBun.m_strFilter="name="+ pTextp.sText4;
CString sQL;
CString sTimp = "ooo";

pBun.Open(CRecord_test::snapshot);



int nIndexA = pBun.m_password.Find(pTextp.sText3);
int nIndexB = pBun.m_name.Find(pTextp.sText4);

if ((nIndexA != -1) & (nIndexB != -1))
{
pBun.Close();
CString sQL;
sQL = ("SELECT * FROM [password]");
pBun.Open(CRecord_test::snapshot,sQL);
pBun.Edit();
pBun.m_accesstype = "fff";
pBun.Update();
pBun.Close();

}

yes CRecordset !Class
What can i do?
error retrieving record ! What do you want?!!!!!!!!!!!!now!!!!
i remind you m_accesstype : Numeric,m_password,m_name Numeric
CText -> CFile!!!!
Database VisualFoxpro 6.0

Bravoone

QuestionRe: MFC /CRecordset Pin
David Crow3-Jan-07 4:11
David Crow3-Jan-07 4:11 
AnswerRe: MFC /CRecordset Pin
Hamid_RT3-Jan-07 17:36
Hamid_RT3-Jan-07 17:36 
Questionbeginners inc++ Pin
ellarond3-Jan-07 3:06
ellarond3-Jan-07 3:06 
AnswerRe: beginners inc++ Pin
Hamid_RT3-Jan-07 3:55
Hamid_RT3-Jan-07 3:55 
AnswerRe: beginners inc++ Pin
David Crow3-Jan-07 4:13
David Crow3-Jan-07 4:13 
GeneralRe: beginners inc++ Pin
ellarond3-Jan-07 5:15
ellarond3-Jan-07 5:15 
QuestionRe: beginners inc++ Pin
David Crow3-Jan-07 5:31
David Crow3-Jan-07 5:31 
AnswerRe: beginners inc++ Pin
ellarond3-Jan-07 6:16
ellarond3-Jan-07 6:16 
GeneralRe: beginners inc++ Pin
David Crow3-Jan-07 7:42
David Crow3-Jan-07 7:42 
GeneralOT Pin
Astricks3-Jan-07 3:05
Astricks3-Jan-07 3:05 
GeneralRe: OT Pin
Hamid_RT3-Jan-07 3:55
Hamid_RT3-Jan-07 3:55 
GeneralRe: OT Pin
Astricks3-Jan-07 5:24
Astricks3-Jan-07 5:24 
GeneralRe: OT Pin
toxcct3-Jan-07 10:23
toxcct3-Jan-07 10:23 
GeneralRe: OT Pin
Astricks3-Jan-07 19:51
Astricks3-Jan-07 19:51 
QuestionResize a control programatically Pin
Fabricem3-Jan-07 3:01
Fabricem3-Jan-07 3:01 
AnswerRe: Resize a control programatically Pin
CPallini3-Jan-07 3:27
mveCPallini3-Jan-07 3:27 
GeneralRe: Resize a control programatically Pin
Fabricem3-Jan-07 3:43
Fabricem3-Jan-07 3:43 

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.