Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Data Exchange Pin
PJ Arends2-Jan-07 5:39
professionalPJ Arends2-Jan-07 5:39 
GeneralRe: Data Exchange Pin
Shouvik Das2-Jan-07 17:51
Shouvik Das2-Jan-07 17:51 
GeneralRe: Data Exchange Pin
PJ Arends2-Jan-07 21:10
professionalPJ Arends2-Jan-07 21:10 
GeneralRe: Data Exchange Pin
Shouvik Das2-Jan-07 3:59
Shouvik Das2-Jan-07 3:59 
GeneralRe: Data Exchange Pin
Cristian Amarie3-Jan-07 8:12
Cristian Amarie3-Jan-07 8:12 
QuestionSending mails in VC++ Pin
Syamlal S Nair1-Jan-07 0:09
Syamlal S Nair1-Jan-07 0:09 
AnswerRe: Sending mails in VC++ Pin
PJ Arends1-Jan-07 8:01
professionalPJ Arends1-Jan-07 8:01 
GeneralRe: Sending mails in VC++ Pin
Syamlal S Nair1-Jan-07 17:37
Syamlal S Nair1-Jan-07 17:37 
AnswerRe: Sending mails in VC++ Pin
Hamid_RT1-Jan-07 17:22
Hamid_RT1-Jan-07 17:22 
GeneralRe: Sending mails in VC++ Pin
Syamlal S Nair1-Jan-07 17:37
Syamlal S Nair1-Jan-07 17:37 
QuestionHow to display progress bar in the list view control in win32 Pin
amitmistry_petlad 31-Dec-06 23:00
amitmistry_petlad 31-Dec-06 23:00 
AnswerRe: How to display progress bar in the list view control in win32 Pin
Mark Salsbery1-Jan-07 9:28
Mark Salsbery1-Jan-07 9:28 
GeneralRe: How to display progress bar in the list view control in win32 Pin
amitmistry_petlad 1-Jan-07 17:03
amitmistry_petlad 1-Jan-07 17:03 
QuestionPrevent ofstream from making same strings [modified] Pin
dellthinker31-Dec-06 16:50
dellthinker31-Dec-06 16:50 
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 

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.