Click here to Skip to main content
15,914,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: where to delete or destroy object? Pin
Bilal18-Sep-02 4:43
Bilal18-Sep-02 4:43 
QuestionWhich lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 4:12
Anonymous18-Sep-02 4:12 
AnswerRe: Which lib is corresponding to Dskquota.h? Pin
Lakitu18-Sep-02 4:19
Lakitu18-Sep-02 4:19 
GeneralRe: Which lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 4:46
Anonymous18-Sep-02 4:46 
GeneralRe: Which lib is corresponding to Dskquota.h? Pin
Le centriste18-Sep-02 6:22
Le centriste18-Sep-02 6:22 
GeneralRe: Which lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 8:04
Anonymous18-Sep-02 8:04 
GeneralMaking Right align Rich Edit box ! Pin
Hadi Rezaee18-Sep-02 4:07
Hadi Rezaee18-Sep-02 4:07 
GeneralProblem with SQL FETCH Pin
Cheickna18-Sep-02 4:04
Cheickna18-Sep-02 4:04 
Hi,

I have some problem with this query i execute under visual C++6.0

"SELECT Nom, CodePostal, Sum(Montant) AS MontantRemb, DateTraitement <br />
FROM TClient GROUP BY Nom, CodePostal, Montant,DateTraitement <br />
HAVING (((DateTraitement)=#09/05/2002#));"


In Microsoft Access interface it work well but if i execute it via ODBC like this :

retcode = SQLExecDirect(m_hstmt,(SQLCHAR*)strSQL, SQL_NTS);

this isntruction work also but i have a problem with SQL Fetch:

while (( retcode = SQLFetch(m_hstmt))!= SQL_NO_DATA)<br />
   {	<br />
	SQLGetData(m_hstmt, 1, SQL_C_CHAR, szNomClient, 25, &cbName);<br />
	SQLGetData(m_hstmt, 2, SQL_C_CHAR, szCodePostal, 6, &cbName);<br />
	SQLGetData(m_hstmt, 3, SQL_C_CHAR, szMontant,   16, &cbName);<br />
	SQLGetData(m_hstmt, 4, SQL_C_CHAR, szDateTraitement,   11, &cbName);<br />
   }
Here retcode return 100 and i can't obtain my data

Thanks in advance for any help
GeneralRe: Problem with SQL FETCH Pin
TyMatthews18-Sep-02 5:10
TyMatthews18-Sep-02 5:10 
GeneralPassing a file through a Socket Pin
RobJones18-Sep-02 3:44
RobJones18-Sep-02 3:44 
GeneralRe: Passing a file through a Socket Pin
TyMatthews18-Sep-02 5:57
TyMatthews18-Sep-02 5:57 
GeneralRe: Passing a file through a Socket Pin
Bilal18-Sep-02 6:32
Bilal18-Sep-02 6:32 
GeneralRe: Passing a file through a Socket Pin
RobJones18-Sep-02 6:57
RobJones18-Sep-02 6:57 
GeneralRe: Passing a file through a Socket Pin
RobJones18-Sep-02 11:06
RobJones18-Sep-02 11:06 
GeneralRe: Passing a file through a Socket Pin
Bilal18-Sep-02 20:42
Bilal18-Sep-02 20:42 
GeneralUTF-8 to Unicode or ANSI. Pin
Halls18-Sep-02 3:25
Halls18-Sep-02 3:25 
GeneralRe: UTF-8 to Unicode or ANSI. Pin
Stephane Rodriguez.18-Sep-02 3:37
Stephane Rodriguez.18-Sep-02 3:37 
GeneralAfxBeginThread Pin
vampiras^18-Sep-02 3:15
sussvampiras^18-Sep-02 3:15 
GeneralRe: AfxBeginThread Pin
Chris Meech18-Sep-02 3:55
Chris Meech18-Sep-02 3:55 
QuestionHow to pass address of a method to a function Pin
Raphael Kindt18-Sep-02 3:06
Raphael Kindt18-Sep-02 3:06 
AnswerRe: How to pass address of a method to a function Pin
Stephane Rodriguez.18-Sep-02 3:40
Stephane Rodriguez.18-Sep-02 3:40 
AnswerRe: How to pass address of a method to a function Pin
Joaquín M López Muñoz18-Sep-02 4:08
Joaquín M López Muñoz18-Sep-02 4:08 
AnswerRe: How to pass address of a method to a function Pin
Axter18-Sep-02 5:16
professionalAxter18-Sep-02 5:16 
Generalstd::string Pin
Furrukh18-Sep-02 2:15
Furrukh18-Sep-02 2:15 
GeneralRe: std::string Pin
jhwurmbach18-Sep-02 2:31
jhwurmbach18-Sep-02 2:31 

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.