Q
Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Create a subfile display as a window records

Is it possible to create a subfile display as a window records? i.e., can the subfile display size be smaller than the usual 24 x 80 display?
Yes. But when a window is displayed, none of the fields outside the window can be accessed, so you can't use this method to make side-by-side subfiles or a subfile next to non-subfile fields and expect to be able to change data in both places at the same time.

But a windowed subfile can be as small as it needs to be, and you can even do clever things like allow the user to move it around the screen, and you can call a window subfile program from itself (via an intermediate program) if it is written in ILE and starts in a new activation group - I use that in my help text system.

As for how to create windowed subfiles, search a site the Search400.com site or even Google. There are plenty of articles, how-tos and source code out there. The IBM DDS manual gives comprehensive instructions, and is always worth a read.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your developing questions fast.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Dig Deeper on iSeries application development tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close