Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralQ about CProgressCtrl Pin
Mister Transistor11-Oct-02 6:53
Mister Transistor11-Oct-02 6:53 
GeneralVB pass a para to VC Pin
aoyee11-Oct-02 6:33
aoyee11-Oct-02 6:33 
GeneralRe: VB pass a para to VC Pin
Anonymous11-Oct-02 6:43
Anonymous11-Oct-02 6:43 
GeneralRe: VB pass a para to VC Pin
Daniel Turini11-Oct-02 7:05
Daniel Turini11-Oct-02 7:05 
GeneralRe: VB pass a para to VC Pin
jmkhael11-Oct-02 7:21
jmkhael11-Oct-02 7:21 
GeneralRe: VB pass a para to VC Pin
Anonymous11-Oct-02 22:06
Anonymous11-Oct-02 22:06 
GeneralSQL and C++ Pin
Anonymous11-Oct-02 5:57
Anonymous11-Oct-02 5:57 
GeneralRe: SQL and C++ Pin
Steve S11-Oct-02 6:13
Steve S11-Oct-02 6:13 
You have a number of choices;

(a) write a stored procedure in T-SQL and call that from your app, passing in your date range
(b) write a select statement, and use any of OLE DB, ATL Data consumer classes, ODBC or even ESQL/C to do it
(c) Use something like Crystal Reports.

More seriously, if you want to issue a simple SQL statement, then something like the ATL classes are almost a no-brainer. There's a Wizard you can use to get you started, with a simple example, and then just tweak bits from it's generated output to go on.

It's sometimes confusing, with Accessors and commands, datasources and sessions, but read through the on-line help and it does make sense.

Steve S
[This signature space available for rent]
GeneralReally strange string error Pin
will138311-Oct-02 5:12
will138311-Oct-02 5:12 
GeneralRe: Really strange string error Pin
jmkhael11-Oct-02 5:17
jmkhael11-Oct-02 5:17 
GeneralRe: Really strange string error Pin
Daniel Turini11-Oct-02 5:22
Daniel Turini11-Oct-02 5:22 
QuestionWhat the Heck? Pin
Ryan B.11-Oct-02 4:51
Ryan B.11-Oct-02 4:51 
AnswerRe: What the Heck? Pin
Steve S11-Oct-02 6:08
Steve S11-Oct-02 6:08 
AnswerRe: What the Heck? Pin
MaximE12-Oct-02 11:54
MaximE12-Oct-02 11:54 
Generala terrible problem! help! Pin
ns11-Oct-02 4:11
ns11-Oct-02 4:11 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 5:01
ns11-Oct-02 5:01 
GeneralRe: a terrible problem! help! Pin
Joaquín M López Muñoz11-Oct-02 5:22
Joaquín M López Muñoz11-Oct-02 5:22 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 5:34
ns11-Oct-02 5:34 
GeneralRe: a terrible problem! help! Pin
Joaquín M López Muñoz11-Oct-02 5:36
Joaquín M López Muñoz11-Oct-02 5:36 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 5:56
ns11-Oct-02 5:56 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 6:00
ns11-Oct-02 6:00 
GeneralRe: a terrible problem! help! Pin
Joaquín M López Muñoz11-Oct-02 6:00
Joaquín M López Muñoz11-Oct-02 6:00 
Generalupdate! Pin
ns15-Oct-02 3:14
ns15-Oct-02 3:14 
GeneralStoring additional data in MsWord 2000/XP file Pin
mariuszpopiolek11-Oct-02 4:06
mariuszpopiolek11-Oct-02 4:06 
GeneralCount appl in DLL Pin
Raphael Kindt11-Oct-02 3:21
Raphael Kindt11-Oct-02 3:21 

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.