Re: CDatabase CRecordset - How to get the number of rows?
- From: "David++" <David@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 13 Jun 2005 01:47:01 -0700
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:
- Re: CDatabase CRecordset - How to get the number of rows?
- From: Roy Fine
- Re: CDatabase CRecordset - How to get the number of rows?
- 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
- CDatabase CRecordset - How to get the number of rows?
- Prev by Date: Re: Mouse cursor to persist outside of the app
- Next by Date: Re: Message Compiler
- 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
|