|
I just read the thread about informing the user that processing is occurring. My options include sndpgmmsg or issuing a Write (w/FrcDta keyword on record format). I want to go with the latter, and I'm looking to do a little bit more. I'd like to display a subfile as it's being built w/o waiting for the user. Essentially the user would see the 'processing...' message above the subfile column headings, but would also see any exception messages pop up at the same time. At the end, the window footer would display command keys appropriate to the result of the processing. My window is as such: * subfile A R WdwSfl * subfile control (header) A R WdwCtl SflCtl( WdwSfl ) A Window(Wdw) A FrcDta A 96 SflDsp A N98 SflDspCtl A 98 SflClr A 96 SflEnd( *ScrBar ) * window definition (footer) A R Wdw In the code: // build record to write to subfile SflClr = *Off (in98) WdwSflDsp = *On; (in96) WdwRRN += 1; Write WdwSfl; Write WdwCtl; <------- error Write Wdw; If I remove the error statement, I only get a window (subfile is not displayed). Thanks, Kurt Anderson Application Developer Highsmith Inc. W5527 State Road 106, P.O. Box 800 Fort Atkinson, WI 53538-0800 TEL (920) 563-9571 FAX (920) 563-7395 EMAIL kjanderson@xxxxxxxxxxxxx
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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.