PowerBuilder 2019R3, b2703
Oracle 12C and PostgreSQL v12
IDE: Windows 10 64 bit o/s
Runtime: Windows 19 server
Update:
Perhaps the header portion of the Global Variables is fixed and gets overwritten at some schedule known only to PowerBuilder. I moved the declaration from it's current location into the Application object using EDIT and clicking on the Instance Variables tab, then the Global Variables option, then manually entering n_tr sqlcz. Let's see if it sticks.
Summary:
The new global value "n_tr sqlcz" vanishes from the list of global variables after a full build or a compile. Why is this occurring and how can I set the app to retain the new global variable?
Details:
1. I added a new n_tr value of sqlcz to the global variables using Edit Source. See image.
2. I do a Full Build, and then a DEPLOY. Everything works.
3. I do another full Build a day later and the variable sqlcz is no longer listed in the global
variables; it appears to have been deleted by magic.
(See comments in attached screenshot)
PowerBuilder destroys the line in the "forward" section when you edit and save the application object using the legal painter.
Thanks for all the feeback and good info, guys!