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

C / C++ / MFC

 
GeneralRe: MS word automation examples Pin
David Crow9-Aug-04 5:31
David Crow9-Aug-04 5:31 
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 
hello Friends,
I have got a table of following structure
Tran_ID Long Integer
Date Date
Type Text
Tran_Number Number
Amount Double
Quantity Double
Dr Text
Desc Memo

The above table is Created in Ms-Access, The main problem is when i use the Select query by using CRecordset object which is opened
CDatabase db;
db.Open("DSN=Test",0);
CRecordset rs(&db);
CString query;
query="Select * from Trans where Date = '08-06-2004'";
rs.Open(CRecordset::snapshot,_T(query));

I am getting an error, Data type mismatch in criteria when the query is to be executed, but where as When i used any other query which can easily match the text, its getting success, only problem with date,
thanking you,
Neelesh K J Jain.
GeneralRe: Database Records Pin
Antti Keskinen8-Aug-04 23:24
Antti Keskinen8-Aug-04 23:24 
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 

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.