Page 1 of 1
Called program's subfile contents corrupted
Posted: Wed Oct 27, 2010 3:54 pm
by Bryan641
I created a basic version of our sales inquiry screen in ProfoundUI and now I'm adding prompt capabilities to the selection criteria. When the prompt button is clicked and the RPG calls another profoundUI program that allows selection from a list, the contents of the subfile in the called program appears to be initialized to what was already in the calling program's subfile.
See attached screenshots.
--Bryan
(Sorry, the sequence of the screen-shots got reversed when I uploaded them.)
Re: Called program's subfile contents corrupted
Posted: Wed Oct 27, 2010 4:16 pm
by David
It looks like the problem here may be duplicate grid ids. It is required that any grids displayed at the same time have ids which are different from one another.
The designer is smart enough to assign unique ids when you add multiple grid widgets to 1 control record (you can do that in Profound UI), but it will not handle it when you have mulitple control/subfile format combinations within a single file or across multiple display files, so you can get duplicates pretty easily if you're not aware to watch out for it.
Rather than going into every subfile grid and adding a unique id, it's usually sufficient just to give unique ids to the ones that are to be used in windows like this.
Is that the problem?
If not, can you attach the DDS source code? With that, we can try to recreate the problem.
Also, I noticed you are getting the "error processing directive" message on your screens. This is fixed in the latest version of Profound UI.
Re: Called program's subfile contents corrupted
Posted: Wed Oct 27, 2010 4:46 pm
by Bryan641
That was the issue. Thanks!