Hello,
I'm just thinking how to handle this properly and can't figure it out :/ (at least not in a clever way). Not sure if this should be posted in subfile directory.
Let's imagine this: I have an 100 pages subfile (one page at time). I can easily handle paging up and down but what I can't handle properly is for example selecting two record on first page (for processing) and then paging down few times and select another few records. When I page up, I should still see the records which I've selected at the beginning(which will be marked in RED as selected for further processing). After I've selected all records which I wanted to process, I can press some Function Key and start processing.
This would be really easy with self expanding subfile but then I'm limited by RRN. I don't think that user will scroll through 9998 record (approximately 769 pages) but I just would like to do One Page at Time.
What I thought is that when user will select "any" record on the first page and then try page down, I will put pageNumber and RRN (or ID or record from database) to array data structure and if user will page up to previous page where he selected something for processing, I will just look into array data structure to see if anything on this page was selected.
Again, this would be much simpler with self expanding subfile or maybe I'm just not clever enough.
I'm just thinking how to handle this properly and can't figure it out :/ (at least not in a clever way). Not sure if this should be posted in subfile directory.
Let's imagine this: I have an 100 pages subfile (one page at time). I can easily handle paging up and down but what I can't handle properly is for example selecting two record on first page (for processing) and then paging down few times and select another few records. When I page up, I should still see the records which I've selected at the beginning(which will be marked in RED as selected for further processing). After I've selected all records which I wanted to process, I can press some Function Key and start processing.
This would be really easy with self expanding subfile but then I'm limited by RRN. I don't think that user will scroll through 9998 record (approximately 769 pages) but I just would like to do One Page at Time.
What I thought is that when user will select "any" record on the first page and then try page down, I will put pageNumber and RRN (or ID or record from database) to array data structure and if user will page up to previous page where he selected something for processing, I will just look into array data structure to see if anything on this page was selected.
Again, this would be much simpler with self expanding subfile or maybe I'm just not clever enough.






Comment