20 pts.
 Load all subfile
Hi

I have a load all subfile.Suddenly the records of the PF i used increased to more than 9999,what changes need to be done in the existing program to accomadate the subfile since PF records crosses the limit.Please  assist

Thanks in advance

 Bikram

ASKED: May 30, 2010  11:55 AM GMT
UPDATED: June 6, 2010  7:16:48 AM GMT
36,420 pts.

Answer Wiki:
Either start with some desired value or give the user a search field(s) on the subfile screen.

You can either create a page-at-a-time or a growing subfile.

When user enter search value you will clear the subfile and reload a page from the proper location in the physical file.

Phil
Last Wiki Answer Submitted:  May 31, 2010  2:15 PM (GMT)  by  Philpl1jb   36,420 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

…what changes need to be done in the existing program to accomadate the subfile…

The direct answer is not to use a load-all subfile. A load-all subfile should not be used for displaying more than a couple hundred records. They allow up to 9999 records, but that is far too many to be useful.

You should use a page-at-a-time subfile when the possible records grow to more than around a couple hundred. Page-at-a-time is a subfile defined with subfile size equal to subfile page.

To understand subfiles, review the Application Display Programming manual. Chapter 4., Displaying Groups of Records Using Subfiles, has explanations, descriptions and example programs.

Tom

 66,955 pts.