Re: Returning the number of records in a database??

From: Anders Gustafsson (dalNOton_at_peSPAMdago.fi)
Date: 08/17/04


Date: Tue, 17 Aug 2004 15:08:13 +0300

In article Paul S. Ganney wrote:
> As luck would have it, I've just posted a class on CodeProject that
> does this sort of thing. Take a look:
> http://www.codeproject.com/database/CountSet.asp

OK. Noted. What I would like to have though is a call to the CRecordset
derived class to return the number of entries. To me it looks neater
that way, but sadly it fails miserably under SQL Server, works OK in
Jet though....

Googling on the web I came up with at least ten identical queries to
mine, all as single post in thread ;)

- Anders G



Relevant Pages

  • Re: Who could help me about database?
    ... I worte a nice little class to do this sort of thing for you. ... CodeProject - just search for "Ganney", as it's the only thing I've ...
    (microsoft.public.vc.mfc)
  • Re: database properties
    ... - Look at the local document stencil for the master "Database Model". ... is probably some sort of COM object, "bit bucket" that stores the model ... somehow generating the type library for it, then you might be in luck. ... Visio MVP ...
    (microsoft.public.visio.developer)
  • Re: Sorting files
    ... I'd like to be able to get "Files" to sort my files in alphabetical ... As yet no luck. ... You may have to tap enter ... once more at the end depending on exactly how long you held down ...
    (comp.sys.hp48)
  • Re: Have I offended or..?
    ... sort of post I am leading w/my chin, ... Mike Cripe ... Posting to a newsgroup is totally "luck of the draw". ...
    (rec.music.makers.guitar.jazz)
  • Re: OT -- Please help my sister and I identify this...
    ... No luck so far, but still looking. ... As a premium for a men's product, this sort of mild erotica isn't too surprising. ... I wonder if you would have more luck trying to track it down as a potential product premium? ...
    (rec.arts.mystery)