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

C / C++ / MFC

 
GeneralRe: How to put a carriage return into a CView object? Pin
Cyrus Dang5-Jan-04 8:49
Cyrus Dang5-Jan-04 8:49 
AnswerRe: How to put a carriage return into a CView object? Pin
David Crow5-Jan-04 7:29
David Crow5-Jan-04 7:29 
AnswerRe: How to put a carriage return into a CView object? Pin
Nick Hodapp5-Jan-04 8:31
sitebuilderNick Hodapp5-Jan-04 8:31 
GeneralRe: How to put a carriage return into a CView object? Pin
Cyrus Dang5-Jan-04 8:38
Cyrus Dang5-Jan-04 8:38 
GeneralLoading Bitmaps Pin
FieldHawk5-Jan-04 7:12
FieldHawk5-Jan-04 7:12 
GeneralRe: Loading Bitmaps Pin
David Crow5-Jan-04 7:17
David Crow5-Jan-04 7:17 
GeneralRe: Loading Bitmaps Pin
abc8765-Jan-04 8:04
abc8765-Jan-04 8:04 
GeneralVC++6, ODBC, and Access 2000 Pin
Roger Wright5-Jan-04 6:42
professionalRoger Wright5-Jan-04 6:42 
I've only worked with very simple DBs in C++/MFC to date, mostly having 1 table, but I've been having trouble with a 3-table DB for a couple of days. The App Wizard creates one recordset, accessed via m_pSet, which contains all fields from all tables. This opens the recordset well enough, but when I change the m_strFilter value and requery to find a match on fields in just one of the tables I get an error that isn't defined anywhere I can locate (Too few arguments - 2 expected). The requery is the call that causes the error; everything else appears to work fine up to that point.

Would it be simpler (and perhaps smarter) to construct separate recordsets for each table, and do this operation on just the one table? These tables don't have to be joined; it's a very simple DB.

"Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

GeneralRe: VC++6, ODBC, and Access 2000 Pin
FieldHawk5-Jan-04 7:23
FieldHawk5-Jan-04 7:23 
GeneralRe: VC++6, ODBC, and Access 2000 Pin
Chris Meech5-Jan-04 7:26
Chris Meech5-Jan-04 7:26 
GeneralRe: VC++6, ODBC, and Access 2000 Pin
Roger Wright5-Jan-04 7:50
professionalRoger Wright5-Jan-04 7:50 
GeneralRe: VC++6, ODBC, and Access 2000 Pin
David Crow5-Jan-04 7:27
David Crow5-Jan-04 7:27 
GeneralVC++ .NET 2002 and 2003 Pro Pin
jdgonko5-Jan-04 6:26
jdgonko5-Jan-04 6:26 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
abc8765-Jan-04 6:44
abc8765-Jan-04 6:44 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Chris Meech5-Jan-04 7:36
Chris Meech5-Jan-04 7:36 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
abc8765-Jan-04 7:55
abc8765-Jan-04 7:55 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Chris Meech5-Jan-04 8:15
Chris Meech5-Jan-04 8:15 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Nick Hodapp5-Jan-04 7:25
sitebuilderNick Hodapp5-Jan-04 7:25 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Nick Hodapp5-Jan-04 7:28
sitebuilderNick Hodapp5-Jan-04 7:28 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
jdgonko5-Jan-04 7:43
jdgonko5-Jan-04 7:43 
QuestionBitmaps on Static Controls, How to ? Pin
rpadrela5-Jan-04 6:05
rpadrela5-Jan-04 6:05 
AnswerRe: Bitmaps on Static Controls, How to ? Pin
twing5-Jan-04 17:15
twing5-Jan-04 17:15 
Generalprinting question Pin
ns5-Jan-04 5:16
ns5-Jan-04 5:16 
GeneralRe: printing question Pin
David Crow5-Jan-04 7:32
David Crow5-Jan-04 7:32 
GeneralRe: printing question Pin
ns6-Jan-04 2:07
ns6-Jan-04 2:07 

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.