Click here to Skip to main content
15,911,707 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Derived classes Pin
Zac Howland18-Sep-06 3:22
Zac Howland18-Sep-06 3:22 
GeneralRe: Derived classes Pin
_AnsHUMAN_ 18-Sep-06 0:37
_AnsHUMAN_ 18-Sep-06 0:37 
GeneralRe: Derived classes Pin
Waldermort18-Sep-06 0:49
Waldermort18-Sep-06 0:49 
AnswerRe: Derived classes Pin
David Crow18-Sep-06 5:18
David Crow18-Sep-06 5:18 
QuestionError in Query execution Pin
vc++_fragrance17-Sep-06 23:22
vc++_fragrance17-Sep-06 23:22 
AnswerRe: Error in Query execution Pin
Nibu babu thomas17-Sep-06 23:34
Nibu babu thomas17-Sep-06 23:34 
AnswerRe: Error in Query execution Pin
toxcct17-Sep-06 23:38
toxcct17-Sep-06 23:38 
AnswerRe: Error in Query execution Pin
pelaez17-Sep-06 23:41
pelaez17-Sep-06 23:41 
Si Str va en el texto entrecomillado el ordenador lo interpreta como texto y no como tu variable.

Desconozco como funciona un SQLCHAR, si el texto fuera un CString deberías ponerlo así...
"SELECT EmployeeID, Salary FROM EMPLOYEE WHERE EmpName='" + Str + "´";
En este caso si cambiará Str por el valor de tu variable, además recuerda que en la sentencia Where EmpName= algo, ese algo tiene que ir entre comillas simples.

Espero haberte ayudado.
GeneralRe: Error in Query execution Pin
toxcct17-Sep-06 23:44
toxcct17-Sep-06 23:44 
GeneralRe: Error in Query execution Pin
Naveen17-Sep-06 23:50
Naveen17-Sep-06 23:50 
GeneralRe: Error in Query execution Pin
toxcct17-Sep-06 23:55
toxcct17-Sep-06 23:55 
GeneralRe: Error in Query execution Pin
Nibu babu thomas17-Sep-06 23:58
Nibu babu thomas17-Sep-06 23:58 
GeneralRe: Error in Query execution Pin
Naveen18-Sep-06 0:03
Naveen18-Sep-06 0:03 
GeneralRe: Error in Query execution Pin
toxcct18-Sep-06 0:06
toxcct18-Sep-06 0:06 
GeneralRe: Error in Query execution Pin
Naveen18-Sep-06 0:09
Naveen18-Sep-06 0:09 
GeneralRe: Error in Query execution Pin
vc++_fragrance18-Sep-06 0:03
vc++_fragrance18-Sep-06 0:03 
GeneralRe: Error in Query execution Pin
toxcct18-Sep-06 0:10
toxcct18-Sep-06 0:10 
QuestionUnhandled Exception in CHtmlEdit.exe (MFC042D.DLL): 0*C0000005 : Access Violation error Pin
Roxy00717-Sep-06 23:16
Roxy00717-Sep-06 23:16 
QuestionGet current HINSTANCE? Pin
Sydes17-Sep-06 22:56
Sydes17-Sep-06 22:56 
AnswerRe: Get current HINSTANCE? Pin
_AnsHUMAN_ 17-Sep-06 23:00
_AnsHUMAN_ 17-Sep-06 23:00 
QuestionRe: Get current HINSTANCE? Pin
David Crow18-Sep-06 5:26
David Crow18-Sep-06 5:26 
Questionhow to include VCL.h in vc++ Pin
zareee17-Sep-06 22:18
zareee17-Sep-06 22:18 
AnswerRe: how to include VCL.h in vc++ Pin
Christian Graus17-Sep-06 22:24
protectorChristian Graus17-Sep-06 22:24 
QuestionAssigning Control ID. Pin
Pratheep Kenny17-Sep-06 20:59
Pratheep Kenny17-Sep-06 20:59 
AnswerRe: Assigning Control ID. Pin
Rinu_Raj17-Sep-06 21:09
Rinu_Raj17-Sep-06 21:09 

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.