Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Prevent ofstream from making same strings Pin
Gary R. Wheeler1-Jan-07 4:44
Gary R. Wheeler1-Jan-07 4:44 
GeneralRe: Prevent ofstream from making same strings Pin
dellthinker2-Jan-07 9:46
dellthinker2-Jan-07 9:46 
QuestionNavigation Error Pin
Shouvik Das31-Dec-06 16:43
Shouvik Das31-Dec-06 16:43 
JokeNavigation Error Pin
Shouvik Das31-Dec-06 19:21
Shouvik Das31-Dec-06 19:21 
AnswerRe: Navigation Error Pin
Nibu babu thomas31-Dec-06 21:06
Nibu babu thomas31-Dec-06 21:06 
GeneralRe: Navigation Error Pin
Shouvik Das31-Dec-06 23:02
Shouvik Das31-Dec-06 23:02 
GeneralRe: Navigation Error Pin
Nibu babu thomas31-Dec-06 23:04
Nibu babu thomas31-Dec-06 23:04 
GeneralRe: Navigation Error Pin
Shouvik Das31-Dec-06 23:10
Shouvik Das31-Dec-06 23:10 
thanks
prob solved
Smile | :)

I instead did this

          m_pSet->Close();
query = "Select * from Book where Ac_no = '"+accnum+"'";
m_pSet->Open(CRecordset::dynaset, (LPCTSTR)query,CRecordset::none);

if(m_pSet->IsBOF() && m_pSet->IsEOF())
    MessageBox("No records meeting the criteria");
else
{
                m_pSet->MoveFirst();
    do
    {
        name=m_pSet->m_Name;
        auth=m_pSet->m_Author;
        Item=accnum+"\t"+name+"\t"+auth+"\t"+CLibManView::GetStatus(m_pSet->m_Stat);
        lb->AddString(Item);
        m_pSet->MoveNext();
    }while(!m_pSet->IsEOF());
}


Success makes life easier. It doesn't make living easier.

SHSmile | :) UVIK

GeneralRe: Navigation Error Pin
Nibu babu thomas1-Jan-07 18:38
Nibu babu thomas1-Jan-07 18:38 
GeneralRe: Navigation Error Pin
Shouvik Das1-Jan-07 18:52
Shouvik Das1-Jan-07 18:52 
QuestionCompression - RAR Pin
Imtiaz Murtaza31-Dec-06 16:37
Imtiaz Murtaza31-Dec-06 16:37 
QuestionDirectshow question Pin
godspeed12331-Dec-06 9:29
godspeed12331-Dec-06 9:29 
AnswerRe: Directshow question Pin
Mark Salsbery31-Dec-06 10:51
Mark Salsbery31-Dec-06 10:51 
QuestionWill do this generate a memory leak? Pin
Joan M30-Dec-06 23:17
professionalJoan M30-Dec-06 23:17 
AnswerRe: Will do this generate a memory leak? Pin
Gary R. Wheeler31-Dec-06 1:22
Gary R. Wheeler31-Dec-06 1:22 
AnswerRe: Will do this generate a memory leak? Pin
Gary R. Wheeler31-Dec-06 1:25
Gary R. Wheeler31-Dec-06 1:25 
AnswerRe: Will do this generate a memory leak? Pin
toxcct31-Dec-06 2:15
toxcct31-Dec-06 2:15 
AnswerYes, if the caller doesn't delete the pointer. Pin
CPallini31-Dec-06 6:58
mveCPallini31-Dec-06 6:58 
Questionno_input comes into reality Pin
davvid30-Dec-06 23:15
davvid30-Dec-06 23:15 
Answerjust a guess Pin
toxcct31-Dec-06 2:27
toxcct31-Dec-06 2:27 
GeneralRe: just a guess Pin
davvid31-Dec-06 2:46
davvid31-Dec-06 2:46 
AnswerRe: no_input comes into reality Pin
CPallini31-Dec-06 11:02
mveCPallini31-Dec-06 11:02 
QuestionIE7 settings Pin
Waldermort30-Dec-06 20:52
Waldermort30-Dec-06 20:52 
AnswerRe: IE7 settings Pin
Michael Dunn30-Dec-06 21:50
sitebuilderMichael Dunn30-Dec-06 21:50 
QuestionHow do I have a "Splitter Functionality" without using CSplitterWind ? [modified] Pin
erajsri30-Dec-06 18:32
erajsri30-Dec-06 18:32 

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.