By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,742 Members | 1,227 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,742 IT Pros & Developers. It's quick & easy.

Finding Postion in the Record

P: n/a
Hi!

Is there any way of finding of what position in a
particular record ?

For example I have 3 records

1 Record 1..
2 Record 2..
3 Record 3..

I would like to know the position of record number 2
Please help me on this..Any comments and answer on this
is highly appreciated, Thanks...


Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
When you say position, position where ?

If you have a dataset which has records pulled from an sql server you will
get them as requested by the SQL statement, if this is not a sorted
statement, they will appear in order of creation. If you are sorting them
and a DataView then the original position is different from the displayed
position, is this what u mean ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Mark Vergara" <ma************@hotmail.com> wrote in message
news:uT**************@TK2MSFTNGP09.phx.gbl...
Hi!

Is there any way of finding of what position in a
particular record ?

For example I have 3 records

1 Record 1..
2 Record 2..
3 Record 3..

I would like to know the position of record number 2
Please help me on this..Any comments and answer on this
is highly appreciated, Thanks...

Nov 20 '05 #2

P: n/a
Mark,

In addition to Terry (OHM) when you have them in a file just read that file
record by record and take the second one.

When you have them in a texbox, splits the text (using the split) on the
vbcrlf and take from the than created array the second item.

I hope this helps, when you need more help, tell what part it is in?

Cor
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.