Re: CDatabase CRecordset - How to get the number of rows?
- From: "Roy Fine" <rlfine@xxxxxxxxxxxxxxxxx>
- Date: Mon, 13 Jun 2005 06:48:49 -0400
david,
glad to be of assistance....
rlf
"David++" <David@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:483AFE5A-6416-40EB-ABEA-C4F84B22F877@xxxxxxxxxxxxxxxx
> Hi Roy :-)
>
> It works now! Thankyou very, very much for your help! If I could I woyuld
> buy you a beer,
>
> All the best,
> David
>
> "Roy Fine" wrote:
>
> >
> > "David++" <David@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:63FB861B-E7A4-408C-A964-A4DD36A98B16@xxxxxxxxxxxxxxxx
> > > Hi Roy,
> > >
> > > This is the code I have so far -
> > >
> > > CRecordset rs(&db);
> > >
> > > rs.Open(CRecordset::forwardOnly,"SELECT * FROM
> > Records",CRecordset::readOnly);
> > >
> >
> > NO! -- the SQL command should be "Select Count(*) FROM Recrds"
> >
> > regards
> > Roy
> >
> >
> >
> >
.
- Follow-Ups:
- References:
- CDatabase CRecordset - How to get the number of rows?
- From: David++
- Re: CDatabase CRecordset - How to get the number of rows?
- From: Gert
- Re: CDatabase CRecordset - How to get the number of rows?
- From: David++
- Re: CDatabase CRecordset - How to get the number of rows?
- From: Roy Fine
- Re: CDatabase CRecordset - How to get the number of rows?
- From: David++
- Re: CDatabase CRecordset - How to get the number of rows?
- From: Roy Fine
- Re: CDatabase CRecordset - How to get the number of rows?
- From: David++
- Re: CDatabase CRecordset - How to get the number of rows?
- From: Roy Fine
- Re: CDatabase CRecordset - How to get the number of rows?
- From: David++
- CDatabase CRecordset - How to get the number of rows?
- Prev by Date: Catching Winkey+M (Minimize all) in an modal dialog
- Next by Date: Re: Mouse cursor to persist outside of the app
- Previous by thread: Re: CDatabase CRecordset - How to get the number of rows?
- Next by thread: Re: CDatabase CRecordset - How to get the number of rows?
- Index(es):
Relevant Pages
|
Loading