|
I usually initialize the subfile, write a blank record to it, set SFLDSP to be inactive and where subfile record 1 would be I display a record format with a single line stating something like "No information available". -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin Sent: Tuesday, October 11, 2005 1:17 PM To: Midrange Systems Technical Discussion Subject: What do you do when a subfile has no records? What do you do when a subfile has no records? As I program yet another subfile it dons on me that my solution for an empty subfile is not very elegant, and probably isn't even very good. What do others do? --------------------------------- Booth Martin http://www.martinvt.com ---------------------------------
As an Amazon Associate we earn from qualifying purchases.
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.