Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: creating an array of structures Pin
Manfred Staiger1-Jul-03 5:59
Manfred Staiger1-Jul-03 5:59 
GeneralRe: creating an array of structures Pin
David Crow1-Jul-03 6:08
David Crow1-Jul-03 6:08 
GeneralRe: creating an array of structures Pin
johnstonsk1-Jul-03 6:30
johnstonsk1-Jul-03 6:30 
GeneralRe: creating an array of structures Pin
David Crow1-Jul-03 6:56
David Crow1-Jul-03 6:56 
GeneralRe: creating an array of structures Pin
David Crow1-Jul-03 10:57
David Crow1-Jul-03 10:57 
GeneralDatabase Easy Question Pin
Scozturk1-Jul-03 5:35
professionalScozturk1-Jul-03 5:35 
GeneralRe: Database Easy Question Pin
David Crow1-Jul-03 6:09
David Crow1-Jul-03 6:09 
GeneralRe: Database Easy Question Pin
Toni781-Jul-03 18:58
Toni781-Jul-03 18:58 
There is nothing wrong with using filters in the database but there is search function as well. Now I don't know whether you're using ADO or not but there if you use filters the recordset pointer will be moved to the first record (if there is a match). If there are more than one records, then you simple call the function MoveNext(). There is nothing fancy in doing that. Maybe you could post some source code...
i.e.
_RecordsetPtr m_pRs;
// Initialize and do whatever you do
...
// Set the filter
...
m_pRs->MoveNext();


// Afterall, I realized that even my comment lines have bugs

When one cannot invent, one must at least improve (in bed).-My latest fortune cookie
GeneralModeless Dialogs Pin
Jay Hova1-Jul-03 5:35
Jay Hova1-Jul-03 5:35 
GeneralRe: Modeless Dialogs Pin
valikac1-Jul-03 5:39
valikac1-Jul-03 5:39 
GeneralRe: Modeless Dialogs Pin
David Crow1-Jul-03 6:23
David Crow1-Jul-03 6:23 
GeneralRe: Modeless Dialogs Pin
Jay Hova1-Jul-03 6:37
Jay Hova1-Jul-03 6:37 
GeneralProblem with COMIP.H Pin
ThaisFurlan1-Jul-03 5:01
ThaisFurlan1-Jul-03 5:01 
Generalaudio settings in xp - help Pin
alonk1-Jul-03 4:29
alonk1-Jul-03 4:29 
Generalprinting multiple pages spanning horizontally Pin
Member 4509901-Jul-03 4:28
Member 4509901-Jul-03 4:28 
GeneralRe: printing multiple pages spanning horizontally Pin
basementman1-Jul-03 5:05
basementman1-Jul-03 5:05 
GeneralRe: printing multiple pages spanning horizontally Pin
Member 4509901-Jul-03 5:11
Member 4509901-Jul-03 5:11 
GeneralRe: printing multiple pages spanning horizontally Pin
Member 4509902-Jul-03 6:42
Member 4509902-Jul-03 6:42 
GeneralHHEELLPP!!! Pin
Sunnygirl1-Jul-03 3:57
Sunnygirl1-Jul-03 3:57 
GeneralRe: HHEELLPP!!! Pin
noksi1-Jul-03 4:59
noksi1-Jul-03 4:59 
GeneralRe: HHEELLPP!!! Pin
Terry O'Nolley10-Jul-03 11:36
Terry O'Nolley10-Jul-03 11:36 
Generalresizing an array to the size of another array Pin
johnstonsk1-Jul-03 3:50
johnstonsk1-Jul-03 3:50 
GeneralRe: resizing an array to the size of another array Pin
John M. Drescher1-Jul-03 4:21
John M. Drescher1-Jul-03 4:21 
GeneralRe: resizing an array to the size of another array Pin
David Crow1-Jul-03 6:27
David Crow1-Jul-03 6:27 
GeneralSetWindowRgn With CButton Pin
nlecren1-Jul-03 3:47
nlecren1-Jul-03 3:47 

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.