Click here to Skip to main content
15,889,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MS word automation examples Pin
tiziacaia9-Aug-04 5:36
tiziacaia9-Aug-04 5:36 
Questionwhy world so cruel for sleep( ) ing..?? Pin
TssPrasad8-Aug-04 23:21
sussTssPrasad8-Aug-04 23:21 
AnswerRe: why world so cruel for sleep( ) ing..?? Pin
Antti Keskinen8-Aug-04 23:29
Antti Keskinen8-Aug-04 23:29 
GeneralRe: why world so cruel for sleep( ) ing..?? Pin
Anonymous9-Aug-04 5:55
Anonymous9-Aug-04 5:55 
Questionwhy world so cruel for sleep( ) ing..?? Pin
TssPrasad8-Aug-04 23:20
sussTssPrasad8-Aug-04 23:20 
Questionwhy world so cruel for sleep( ) ing..?? Pin
Shiva Prasad8-Aug-04 23:20
Shiva Prasad8-Aug-04 23:20 
GeneralDatabase Records Pin
Neelesh K J Jain8-Aug-04 23:10
Neelesh K J Jain8-Aug-04 23:10 
GeneralRe: Database Records Pin
Antti Keskinen8-Aug-04 23:24
Antti Keskinen8-Aug-04 23:24 
Hello Neelesh,

Take the query string, and open up Access (if you have it). Then execute the query as is and see the results. I suspect that there is a syntax error in the SQL statement.

Found here at Code Project, there is an ODBC Query Tool available for download that is extremely effective in creating working ODBC query strings that fetch data correctly. What I mean by this is that it is most probable that the query string you create contains a syntax error. The quotes and double-quotes that are required by some SQL query strings are problematic when it comes to C++.

First, using ODBC Query Tool, create a query string that fetches the data properly. Then copy this string as is into your C++ code. If you need double-quotes, place a forward-slash '/' in front of them on the string, so they are treated properly.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Database Records Pin
David Crow9-Aug-04 2:52
David Crow9-Aug-04 2:52 
GeneralDatabase Records Pin
Neelesh K J Jain8-Aug-04 23:05
Neelesh K J Jain8-Aug-04 23:05 
QuestionHow to call different dialog box on a property sheet clicking on OK buttton?. Pin
Rajesh_K_Sharma8-Aug-04 22:39
Rajesh_K_Sharma8-Aug-04 22:39 
AnswerRe: How to call different dialog box on a property sheet clicking on OK buttton?. Pin
David Crow9-Aug-04 3:00
David Crow9-Aug-04 3:00 
GeneralOpenScManager() Pin
Anonymous8-Aug-04 22:11
Anonymous8-Aug-04 22:11 
GeneralRe: OpenScManager() Pin
Mike Beckerleg9-Aug-04 0:34
Mike Beckerleg9-Aug-04 0:34 
GeneralRe: OpenScManager() Pin
Anonymous9-Aug-04 1:05
Anonymous9-Aug-04 1:05 
GeneralRe: OpenScManager() Pin
Mike Beckerleg9-Aug-04 1:08
Mike Beckerleg9-Aug-04 1:08 
GeneralEmbedded CDateTimeCtrl in CListCtrl Pin
mace8-Aug-04 21:53
mace8-Aug-04 21:53 
GeneralRe: Embedded CDateTimeCtrl in CListCtrl Pin
David Crow9-Aug-04 3:05
David Crow9-Aug-04 3:05 
GeneralRe: Embedded CDateTimeCtrl in CListCtrl Pin
mace9-Aug-04 3:38
mace9-Aug-04 3:38 
GeneralRe: Embedded CDateTimeCtrl in CListCtrl Pin
Anonymous9-Aug-04 5:58
Anonymous9-Aug-04 5:58 
GeneralRe: Embedded CDateTimeCtrl in CListCtrl Pin
mace9-Aug-04 6:27
mace9-Aug-04 6:27 
GeneralRe: Embedded CDateTimeCtrl in CListCtrl Pin
mace9-Aug-04 23:43
mace9-Aug-04 23:43 
QuestionJET Engine differences? Pin
Danoo8-Aug-04 21:44
Danoo8-Aug-04 21:44 
GeneralInstead of STL List Pin
.NetRams8-Aug-04 21:22
.NetRams8-Aug-04 21:22 
GeneralRe: Instead of STL List Pin
gokings9-Aug-04 1:15
gokings9-Aug-04 1: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.