Re: SELECT MAX(...) returns 0
From: Pascal Biston (pbi_at_sigroup.be)
Date: 05/10/04
- Next message: Juvenel Joseph: "Linking a datalist even to adodc"
- Previous message: Veign: "Re: ToolBar"
- In reply to: Douglas J. Steele: "Re: SELECT MAX(...) returns 0"
- Next in thread: Douglas J. Steele: "Re: SELECT MAX(...) returns 0"
- Reply: Douglas J. Steele: "Re: SELECT MAX(...) returns 0"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 May 2004 16:58:34 +0200
Yes, I refer rs(0)
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> a écrit dans le
message de news:utLbyY1MEHA.892@TK2MSFTNGP09.phx.gbl...
> What's your code look like: how are you referring to the field when you
> retrieve it from the recordset?
>
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (No private e-mails, please)
>
>
> "Pascal Biston" <pbi@sigroup.be> wrote in message
> news:#5jUX90MEHA.340@TK2MSFTNGP11.phx.gbl...
> > Hi,
> >
> > No where clause, just a "SELECT MAX(NumChant) From Chant"
> >
> > Regards,
> >
> > Pascal
> >
> > "Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.com> a écrit dans le message
de
> > news:rq1k90lfpnbhjvj1hmf8qmad18ktvcao41@4ax.com...
> > > "Pascal Biston" <pbi@sigroup.be>'s wild thoughts were
> > > released on Thu, 6 May 2004 11:07:43 +0200 bearing the
> > > following fruit:
> > >
> > > >Hi,
> > > >
> > > >I've the following problem : with Windows 98, MDAC 2.8, a program
write
> > in
> > > >VB 6.0, used ADO recordset when I execute the following instance
SELECT
> > > >MAX(NumChant) from ... the results is 0 but my database is not empty
> (+-
> > > >2500 records). The fields NumChant is varchar !
> > > >
> > > >Any idea ?
> > > >
> > >
> > > Is there a where clause on the SQL?
> > >
> > >
> > >
> > > --
> > > Jan Hyde (MVP - Visual Basic)
> > >
> > > Ramadan is fast approaching. (Priscilla H Ballou)
> > >
> > > [Abolish the TV Licence - http://www.tvlicensing.biz/]
> > >
> >
> >
>
>
- Next message: Juvenel Joseph: "Linking a datalist even to adodc"
- Previous message: Veign: "Re: ToolBar"
- In reply to: Douglas J. Steele: "Re: SELECT MAX(...) returns 0"
- Next in thread: Douglas J. Steele: "Re: SELECT MAX(...) returns 0"
- Reply: Douglas J. Steele: "Re: SELECT MAX(...) returns 0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|