Subfile end

5 pts.
Tags:
LOAD ALL subfile
Subfile Control
Subfile Display
Subfile end
Subfiles
How can I determine that a user has veiwed every page of a subfile when using a load all subfile?

Answer Wiki

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

Ask the user.

There is no supplied method to determine anything about which pages of a load-all subfile have been viewed. The system doesn’t keep track of the series of page views, and your program receives no information about what the user is doing until the <Enter> or other AID-generating key is pressed.

That’s part of the purpose of a load-all subfile. All of the work of page navigation is handled outside of your program. If you need to know that each page has been viewed, then use either page-at-a-time or extendable subfiles.

Technically, I suppose you <i>could</i> do something like enabling STRCPYSCN to an *OUTFILE and then process the outfile to see if every page is captured… but that seems to be a long way to go when the other two subfile types are available.

Tom

if you know the number of records that are loaded, and the number of records that are displayed, you could count the number of times the PAGE/ROLL key is pressed.

this can give you the number of records displayed the terminal, but it can’t guarantee that the user actually looks at them.

-Sarge

Discuss This Question: 2  Replies

 
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
  • philpl1jb
    You could use sflcsrrrn to capture the Subfile position of the cursor when the user exited the screen .. provided that the cursor is pointing at a subfile record and they returned while viewing the last page .. not much of a control. Better use a page-at-a-time SF then you know where they are. Phil
    49,435 pointsBadges:
    report
  • TomLiotta
    ...you could count the number of times the PAGE/ROLL key is pressed. A load-all subfile doesn't report the scroll keys, so there's nothing to count. Your program isn't called, so you can't execute any "counting" instructions. That's a big part of what load-all subfiles are all about -- your program isn't involved in scrolling. Tom
    125,585 pointsBadges:
    report

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