Message Boards

Changing source code for 3.4.2 iclotr01.p

Wendy Hertzfeld, modified 3 Years ago.

Changing source code for 3.4.2 iclotr01.p

Post Date: 1/16/19 (Silver, 55 Posts) Recent Posts

I have attempted to change the source code for the 3.4.2 screen in QAD so that the default setting for the "Transfer if different status" is set to Yes.  I changed the following line in the source code:

define new shared variale statyn           like mfc_logical initial "no".

All I did was change the "no" to "yes", saved the source code as custom, compiled the .p file, and then changed the menu option.  When trying to open the screen now in .NetUI it only opens in terminal mode.  Desktop mode is no longer an option.  I don't understand why and was hoping someone could help me.

Robert Jensen, modified 7 Years ago.

Re: Changing source code for 3.4.2 iclotr01.p

By default, programs run in terminal mode only. You need to add  a pgmi_mstr record for your new program to indicate it is allowed to run as desktop.
To do this, go to Program Information Mainenance (36.4.4.13) and enter a record for "xxlotr01.p" (the name of the new program)

Set:

Image:  Maint
Web Login Implemented: No
Type: desktop

Wendy Hertzfeld, modified 7 Years ago.

Re: Changing source code for 3.4.2 iclotr01.p

Post Date: 1/17/19 (Silver, 55 Posts) Recent Posts
Thank you Robert!  Something I did not know but works perfectly!

Message place holder