hi,
i need to split a document list into two halves and copy it to another document list . can you plz help.
- Initialise 2 doc lists, say OutA and OutB.
- Define the boundary where you need to cut your list.
- Loop over it.
- AppendToDocList until it reaches the boundary. Map it to OutA.
- keep appendingToDocList till the end. Map it to OutB.
Now you have 3 lists. Keep which ever you need and delete the rest.
This is one of the ways to do it.