Re: Referencing data column by it's name
- From: "Daniel Crichton" <msnews@xxxxxxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 11:41:49 -0000
Bob wrote on Mon, 27 Nov 2006 06:38:03 -0500:
Daniel Crichton wrote:
What nobody else spotted is that ADO uses a zero based field numberingWhat do you mean? That idea iss certainly featured in my second reply ...
system, so the first column is actually rs(0), not rs(1).
:-)
Missed that. Sorry.
And how do you kn ow he wasn't using "COLUMN 1" to refer to the second
field in his resultset? ;-)
Hmm, true, I guess I interpreted that as meaning "the first column", rather
than column ordinal 1.
(again ... the problem with using selstar)
Indeed.
Dan
.
- References:
- Referencing data column by it's name
- From: nospam
- Re: Referencing data column by it's name
- From: Daniel Crichton
- Re: Referencing data column by it's name
- From: Bob Barrows [MVP]
- Referencing data column by it's name
- Prev by Date: Re: Referencing data column by it's name
- Next by Date: Re: ADO in multithreaded: Application Verifier (with WinDbg) gives "Invalid Handle" at the end of my application
- Previous by thread: Re: Referencing data column by it's name
- Index(es):
Relevant Pages
|
|