× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have a how-best-to question:

I have a utility program that gets a list of objects using the QUSLOBJ API then retrieves info about each object in the list and displays in a subfile.

The problem I ran into is that if the list has more than 9999 records it blows up the subfile.

As I see it I have two choices; "page at a time" subfile or a UIM panel.

I know that a UIM panel would not have the 9999 record limitation and I have used them.

I can see that a "page at a time" subfile works well for data from a file, or "file like" source. I am struggling to figure out how best do the same with the list api data in the user space.

I am thinking of cranking thru the list api and building a temp dtaq or file to store the data then read from there to populate the "page at a time" subfile. I worry about the performance having to essentially read the data twice to show the first page.

I am not inclined to use the initial user space as I would have to keep retrieving the object info for each page up/down request.

Bryan
--

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.