I’m a long time lurker and reader of posts, but rare poster !
For a while now I’ve had an issue with my App… currently working in V9.1
I’ve wanted to port to V11 but when I import the App to V11 I get a crash every time I double click on a button control, so I’ve put the upgrade off.
However today I’ve exported the App to TXA and reimported it (to V9.1). It all works and compiles fine. However… I’ve lost access to my global variables.
They all still exist as the app compiles fine, but they no longer appear in the Global data section of the App. Newly created variables appear fine, but I have lost access to the historic variables.
I presume that this is an issue with the TXA. Can anyone point me towards where I can find the section to import, and what I should be looking to amend in the TXA to get them to reappear in the App ?
Any pointers towards where the the issue with the crashing button control in V11 would be super helpful as well as I’d really like to upgrade the App.
Posting some screen captures of what you describe may help, both before and after of Global Data. Same for the button crash, it must have displayed a window?
Assuming the global variables are in the exported TXA file, post the txa sections that define them here.
When you imported the APP back into C9.1, do you have any messages or errors in the error pad?
Focus on getting the APP to export and re-import into Clarion 9.1. Then upgrade it to C11. That will be easier to pinpoint the problems.
To judge if the TXA export then import had side effects I always compare the generated CLWs from before and after. I use the free WinMerge to compare source.
You could also export a TXA from new APP and compare it to the TXA you imported to see if anything jumps out.
FWIW, I have experienced oddities with global vars when exporting and importing txa’s within 9.1. I don’t lose the vars, but I do lose any preset initial values. I ended up hard-coding the value assignment to the global var during program start-up.