Hello!
I'm trying to select marked records from a grid and loop through them to perform some processing, but the problem I'm having is the datasource will only find 39 records (the number of visible rows), even though I may have 100 or more.
I'm using code patterned after the following:
studentLocal = student_ds.getFirst(1);
while (studentLocal)
{
info(studentLocal.Name +" " +studentLocal.ID);
studentLocal = student_ds.getNext();
}
This is expected behavior because a datasource is made to display the information, not buffer up everything in the table. Scrolling to the last selected records will bring more data in, but this to me seems to be an unreliable approach.
Does anyone know of a good way to select records in a datasource grid and have AX return more than the visible rows without scrolling up and down to force the buffer to fill?
Thanks.
*This post is locked for comments
I have the same question (0)