Click to See Complete Forum and Search --> : Data Binding


SniperX
04-23-2003, 04:49 AM
If i had 50 records in the file but only wanted to read the last 20 of them does any one know how to do that

Thanx in advance
MW

AdamGundry
04-23-2003, 05:10 AM
How are you reading these records - which database and which langauge?

In SQL, you could do "select * from table order by field desc limit 20", or something similar, depending on the exact SQL implementation and database format.

Adam

SniperX
04-23-2003, 05:21 AM
Just reading from a textfile, using html didnt even know if this was the right question for this forum