GT page & EQ page

205 pts.
Tags:
Subfile
When should i want to prefer subfile EQ page and Why?

Answer Wiki

Thanks. We'll let you know when a new response is added.

When they are equal say both 8 you can only put upto 8 records in the subfile
You code pagedonw and pageup in the control.
When the user presses pagedown you must clear the subfile and put the next 8 records into it.
You will also have to reload an earlier page when page-up is pressed

With the GT page the subfile can grow (up to the max of 9999 records)
You could either load all records initially (good for relatively short cases)
or load the first page and add one page each time the page down is pressed.
Generally in this case Page up does not need to be coded in the control or the rpg code.
The subfile contains the records from the first loaded so page-up’s can be processed by the screen itself.

Load all initially is the simpliest code
Growing subfile needs page down code
One page subfile needs page-up and page-down code and is the most complex to code.

Phil

Hi Phil,

Thank u for ur information. I want to know what is load on demand subfile and why we want to use that?

////////////////
I suspect load-on-demand would be to load one page at a time — that might be the growing subfile or the one page subfile.

The one page subfile is the most “efficient” in that it uses the least system memory but with page-up/page-down it is the most complex to code and if the user is likely to use page-up/page-down higher cycles.

The growing subfile will use more system memory if/when page down is pressed. But will use few cycles when page-up is pressed and is simplier code.

Phil

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following