Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Proxy DLL - Redirecting by standard? Pin
Alexander M.,2-Nov-03 7:20
Alexander M.,2-Nov-03 7:20 
GeneralRe: Proxy DLL - Redirecting by standard? Pin
Dominik Reichl2-Nov-03 7:28
Dominik Reichl2-Nov-03 7:28 
QuestionWMF's IWMReader memory leak? Pin
Philip Patrick1-Nov-03 23:26
professionalPhilip Patrick1-Nov-03 23:26 
AnswerRe: WMF's IWMReader memory leak? Pin
Michael Dunn2-Nov-03 7:43
sitebuilderMichael Dunn2-Nov-03 7:43 
GeneralRe: WMF's IWMReader memory leak? Pin
Philip Patrick2-Nov-03 11:15
professionalPhilip Patrick2-Nov-03 11:15 
GeneralRe: WMF's IWMReader memory leak? Pin
Michael Dunn2-Nov-03 13:29
sitebuilderMichael Dunn2-Nov-03 13:29 
GeneralRe: WMF's IWMReader memory leak? Pin
Philip Patrick2-Nov-03 21:19
professionalPhilip Patrick2-Nov-03 21:19 
GeneralCrecordset with join tables Pin
merav1-Nov-03 22:25
merav1-Nov-03 22:25 
I need to retrieve data from 2 tables which one of the fields is a total. i use my own recordset(which inherit from Crecordset ), and i bind the coloms in DoFieldExchange.
now i need to get the field from my recordset but the field which contain the sum function retrieve 0.

This is my select from the 2 tabels tPlan and tUser :
(SELECT tPlan.ID, Sum(tUser.SpaceUsed) AS SumOfSpaceUsed,FROM tPlan INNER JOIN tUser ON tPlan.ID = tUser.PlanID
GROUP BY tPlan.ID;)

i use this way:
void CPlanUserSet ::DoFieldExchange( CFieldExchange* pFX )
{
pFX->SetFieldType(CFieldExchange::outputColumn);

RFX_Int (pFX,"tPlan.ID",plan_user.m_Pid);
RFX_Int (pFX,"tUser.SpaceUsed",plan_user.m_SpaceUsed );
}
The id field is retrieved but not the Sum of spaceUsed
Any idea????Confused | :confused:
GeneralRe: Crecordset with join tables Pin
Mike Danberg2-Nov-03 9:50
Mike Danberg2-Nov-03 9:50 
GeneralSimple Full Screen application Pin
ahmetaa1-Nov-03 17:46
ahmetaa1-Nov-03 17:46 
GeneralRe: Simple Full Screen application Pin
Antti Keskinen2-Nov-03 0:03
Antti Keskinen2-Nov-03 0:03 
QuestionCopyFileEx notification?? Pin
Paul Farry1-Nov-03 14:50
professionalPaul Farry1-Nov-03 14:50 
AnswerRe: CopyFileEx notification?? Pin
Blake Coverett1-Nov-03 15:36
Blake Coverett1-Nov-03 15:36 
QuestionC++ imagemap/clickable image? Pin
John Tipper1-Nov-03 12:55
John Tipper1-Nov-03 12:55 
AnswerRe: C++ imagemap/clickable image? Pin
Andrew Walker1-Nov-03 15:02
Andrew Walker1-Nov-03 15:02 
GeneralCTreeCtrl problem Pin
_Sin1-Nov-03 11:11
_Sin1-Nov-03 11:11 
GeneralRun-time objects and CRuntimeClass Pin
Antti Keskinen1-Nov-03 10:08
Antti Keskinen1-Nov-03 10:08 
GeneralSimple MFC Timer dos not work! Pin
ahmetaa1-Nov-03 8:34
ahmetaa1-Nov-03 8:34 
GeneralRe: Simple MFC Timer dos not work! Pin
Antti Keskinen1-Nov-03 10:55
Antti Keskinen1-Nov-03 10:55 
GeneralRe: Simple MFC Timer dos not work! Pin
ahmetaa1-Nov-03 12:12
ahmetaa1-Nov-03 12:12 
QuestionHow to access a Global variable from another Dialog box. Pin
Deepak Samuel1-Nov-03 7:05
Deepak Samuel1-Nov-03 7:05 
AnswerRe: How to access a Global variable from another Dialog box. Pin
valikac1-Nov-03 7:07
valikac1-Nov-03 7:07 
AnswerRe: How to access a Global variable from another Dialog box. Pin
Terry O'Nolley1-Nov-03 9:51
Terry O'Nolley1-Nov-03 9:51 
GeneralRe: How to access a Global variable from another Dialog box. Pin
Markyg2-Nov-03 15:21
Markyg2-Nov-03 15:21 
GeneralOutlook Automation (C++) Pin
Anonymous1-Nov-03 6:43
Anonymous1-Nov-03 6:43 

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.