Click here to Skip to main content
15,917,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDIB problems Pin
Anthony_Yio2-Oct-03 1:56
Anthony_Yio2-Oct-03 1:56 
QuestionHow to insert Button to titleBar ? Pin
vgrigor2-Oct-03 0:58
vgrigor2-Oct-03 0:58 
AnswerRe: How to insert Button to titleBar ? Pin
Mike Dimmick2-Oct-03 4:14
Mike Dimmick2-Oct-03 4:14 
GeneralRe: How to insert Button to titleBar ? Pin
vgrigor2-Oct-03 5:20
vgrigor2-Oct-03 5:20 
GeneralExtracting info from a web page Pin
doctorpi2-Oct-03 0:36
doctorpi2-Oct-03 0:36 
GeneralRe: Extracting info from a web page Pin
David Crow2-Oct-03 2:49
David Crow2-Oct-03 2:49 
GeneralRe: Extracting info from a web page Pin
RobJones2-Oct-03 7:07
RobJones2-Oct-03 7:07 
GeneralCRecordset input parameters Pin
pocovnicu1-Oct-03 23:19
pocovnicu1-Oct-03 23:19 
Please if there is someone who knows how to pass an input parameter to a query for selecting data from a view with parameter.
I have a "MS Access" View called "Income" and this view has a parameter pDate.
The SQL used to create the View is something like this:

SELECT AVG(TROL) AS MROL, AVG(TEURO) AS MEURO, AVG(TUSD) AS MUSD
FROM Total
WHERE date > pDate;

pDate is a parameter.

I have a class CDBIncome : public CRecordset
and a recordset
CDBIncome rsIncome;

I don't know how to pass the pDate parameter to rsIncome;
If somebody knows how to do this, please write the code to do this.
Code for DoFieldExchange(CFieldExchange* pFX)
and code for query. And anything I should know.
Thank you.



GeneralRe: CRecordset input parameters Pin
vcplusplus2-Oct-03 1:50
vcplusplus2-Oct-03 1:50 
GeneralRe: CRecordset input parameters Pin
pocovnicu2-Oct-03 2:50
pocovnicu2-Oct-03 2:50 
GeneralRe: CRecordset input parameters Pin
David Crow2-Oct-03 3:06
David Crow2-Oct-03 3:06 
GeneralRe: CRecordset input parameters Pin
pocovnicu2-Oct-03 3:17
pocovnicu2-Oct-03 3:17 
GeneralRe: CRecordset input parameters Pin
David Crow2-Oct-03 3:33
David Crow2-Oct-03 3:33 
Questionhow to set the height of a truetype font ? Pin
JP GOBLET1-Oct-03 23:19
JP GOBLET1-Oct-03 23:19 
AnswerRe: how to set the height of a truetype font ? Pin
Mike Dimmick2-Oct-03 4:25
Mike Dimmick2-Oct-03 4:25 
GeneralRe: how to set the height of a truetype font ? Pin
JP GOBLET2-Oct-03 4:48
JP GOBLET2-Oct-03 4:48 
AnswerRe: how to set the height of a truetype font ? Pin
G. Steudtel2-Oct-03 5:02
G. Steudtel2-Oct-03 5:02 
GeneralRe: how to set the height of a truetype font ? Pin
JP GOBLET2-Oct-03 5:51
JP GOBLET2-Oct-03 5:51 
GeneralRe: how to set the height of a truetype font ? Pin
G. Steudtel2-Oct-03 6:06
G. Steudtel2-Oct-03 6:06 
GeneralRe: how to set the height of a truetype font ? Pin
JP GOBLET4-Oct-03 5:34
JP GOBLET4-Oct-03 5:34 
GeneralAccessing document properties from a VC++ application Pin
jopett1-Oct-03 21:15
jopett1-Oct-03 21:15 
GeneralRe: Accessing document properties from a VC++ application Pin
Michael P Butler2-Oct-03 1:32
Michael P Butler2-Oct-03 1:32 
GeneralRe: Accessing document properties from a VC++ application Pin
jopett2-Oct-03 20:57
jopett2-Oct-03 20:57 
GeneralRide Control System Pin
immanis1-Oct-03 20:54
immanis1-Oct-03 20:54 
GeneralRe: Ride Control System Pin
immanis1-Oct-03 22:58
immanis1-Oct-03 22:58 

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.