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.)
Called program's subfile contents corrupted
-
- Profound User
- Posts: 72
- Joined: Fri Oct 01, 2010 5:07 pm
- First Name: Bryan
- Last Name: Leaman
- Company Name: InVue Security
- Phone: 704-752-6513 x221
- Address 1: 15015 Lancaster Hwy
- City: Charlotte
- State / Province: North Carolina
- Zip / Postal Code: 28277
- Contact:
Called program's subfile contents corrupted
- Attachments
-
- The prompt screen called from a stand-alone CL with the same parameters.
- promptscreen3.jpg (47.52 KiB) Viewed 1530 times
-
- The display when the prompt button was pressed.
- promptscreen2.jpg (71.92 KiB) Viewed 1538 times
-
- Sales inquiry screen before prompt program is called.
- promptscreen1.jpg (85.34 KiB) Viewed 1539 times
- David
- Profound Logic Staff Member
- Posts: 690
- Joined: Fri Jan 04, 2008 12:11 pm
- First Name: David
- Last Name: Russo
- Company Name: Profound Logic Software
- Contact:
Re: Called program's subfile contents corrupted
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.
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.
-
- Profound User
- Posts: 72
- Joined: Fri Oct 01, 2010 5:07 pm
- First Name: Bryan
- Last Name: Leaman
- Company Name: InVue Security
- Phone: 704-752-6513 x221
- Address 1: 15015 Lancaster Hwy
- City: Charlotte
- State / Province: North Carolina
- Zip / Postal Code: 28277
- Contact:
Re: Called program's subfile contents corrupted
That was the issue. Thanks!
Who is online
Users browsing this forum: No registered users and 6 guests