Re: Referencing data column by it's name



Daniel Crichton wrote:
What nobody else spotted is that ADO uses a zero based field numbering
system, so the first column is actually rs(0), not rs(1).

What do you mean? That idea iss certainly featured in my second reply ...
:-)

And how do you kn ow he wasn't using "COLUMN 1" to refer to the second field
in his resultset? ;-)
(again ... the problem with using selstar)

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


.



Relevant Pages

  • Re: rs.Skipfirst??
    ... > datagrid using the database field names as column headings. ... but I don't want to display it as the first column. ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.general)
  • Re: Referencing data column by its name
    ... That idea iss certainly featured in my second reply ... ... Hmm, true, I guess I interpreted that as meaning "the first column", rather ... Dan ...
    (microsoft.public.data.ado)