Click here to Skip to main content
16,011,647 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CursorInfo Pin
David Crow24-Nov-07 17:28
David Crow24-Nov-07 17:28 
GeneralRe: CursorInfo Pin
Mark Salsbery24-Nov-07 17:35
Mark Salsbery24-Nov-07 17:35 
AnswerRe: CursorInfo Pin
Shog924-Nov-07 9:19
sitebuilderShog924-Nov-07 9:19 
AnswerRe: CursorInfo Pin
Bram van Kampen24-Nov-07 16:02
Bram van Kampen24-Nov-07 16:02 
QuestionHow to run more than one SQL query Pin
prithaa23-Nov-07 23:55
prithaa23-Nov-07 23:55 
AnswerRe: How to run more than one SQL query Pin
Mark Salsbery24-Nov-07 7:40
Mark Salsbery24-Nov-07 7:40 
GeneralRe: How to run more than one SQL query Pin
prithaa24-Nov-07 20:29
prithaa24-Nov-07 20:29 
QuestionRe: How to run more than one SQL query Pin
David Crow26-Nov-07 3:59
David Crow26-Nov-07 3:59 
prithaa wrote:
In the above SQL FIRSTQUARTER is a variable.


So are you wanting something like:

CString str;
str.Format("SELECT SUM(DEMAND) FROM PURCHASE WHERE t='JAN' OR t='FEB' OR t='MAR' INTO %s", FIRSTQUARTER);
C.ExecuteSQL(str);



"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


QuestionC++ Exceptions wihout OS Pin
CataclysmicQuantum23-Nov-07 20:26
CataclysmicQuantum23-Nov-07 20:26 
AnswerRe: C++ Exceptions wihout OS Pin
super_ttd23-Nov-07 23:33
super_ttd23-Nov-07 23:33 
GeneralRe: C++ Exceptions wihout OS Pin
CataclysmicQuantum24-Nov-07 0:50
CataclysmicQuantum24-Nov-07 0:50 
GeneralRe: C++ Exceptions wihout OS Pin
Gary R. Wheeler24-Nov-07 2:20
Gary R. Wheeler24-Nov-07 2:20 
GeneralRe: C++ Exceptions wihout OS Pin
CataclysmicQuantum24-Nov-07 2:21
CataclysmicQuantum24-Nov-07 2:21 
GeneralRe: C++ Exceptions wihout OS Pin
Matthew Faithfull24-Nov-07 7:10
Matthew Faithfull24-Nov-07 7:10 
AnswerRe: C++ Exceptions wihout OS Pin
Bram van Kampen24-Nov-07 16:38
Bram van Kampen24-Nov-07 16:38 
AnswerRe: C++ Exceptions wihout OS Pin
Stephen Hewitt25-Nov-07 17:43
Stephen Hewitt25-Nov-07 17:43 
GeneralRe: C++ Exceptions wihout OS Pin
CataclysmicQuantum25-Nov-07 20:34
CataclysmicQuantum25-Nov-07 20:34 
Questionbitmaps clipboard getpixel Pin
chronos2323-Nov-07 20:19
chronos2323-Nov-07 20:19 
AnswerRe: bitmaps clipboard getpixel Pin
Hamid_RT23-Nov-07 21:19
Hamid_RT23-Nov-07 21:19 
Questionchanging a bmp on a button Click event Pin
neha.agarwal2723-Nov-07 20:02
neha.agarwal2723-Nov-07 20:02 
AnswerRe: changing a bmp on a button Click event Pin
Hamid_RT23-Nov-07 21:08
Hamid_RT23-Nov-07 21:08 
AnswerRe: changing a bmp on a button Click event Pin
Mark Salsbery24-Nov-07 7:48
Mark Salsbery24-Nov-07 7:48 
QuestionClass wizard in VC 2005 Pin
neha.agarwal2723-Nov-07 17:05
neha.agarwal2723-Nov-07 17:05 
AnswerRe: Class wizard in VC 2005 Pin
Mark Salsbery23-Nov-07 17:17
Mark Salsbery23-Nov-07 17:17 
GeneralRe: Class wizard in VC 2005 Pin
neha.agarwal2723-Nov-07 17:50
neha.agarwal2723-Nov-07 17:50 

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.