get 10000 lignes from

absak

Member
Hello Guys,

I had a collection of more than 10000 lines, but i want to get only 10000 lines, is there a simple way than looping on it
 

harish17

Active Member
Hi absak,

You can google it.
Not sure about your question.if I understand correctly you have 10k rows but you want only 1k rows. Is there is any criteria like 1st 1000 rows or some specific users..
 

absak

Member
the criteria is to split the collection wich contain more than 10000 row in a collections limited by 10000 rows
for ex: if you had 35000 row you will had 3 collection of about 10000 row and a collection of about 5000 row.
 

juan.gl

New Member
you can add an index column and just filter the collection using the Index <10000
or use the code stage as mentioned before
 
Top