I have a screen that validates one field against a previously entered field. If the fields don't match, the previously entered field is changed and the symbolic that references it is updated. When I run the window from the TCL with ]aw window everything works great. When I run the same window from the menu, I get
"SYMB4" cannot be executed.It does not exist in the dictionary.On the first run through the symbolic works every time, it is only after the related field is changed that it can't find the dictionary item. And then only if I run it from the menu.
That menu is down about 3 levels (I don't know how to get the real level number).
Any MFSs on the table?
Any reference to @DICT in the symbolic?
Any other programme executing before the window is called from the menu?
JB
Barb & I found a goofy way around the error. I changed the menu item code and command from "W" "windowname" to "E" "AW windowname" and the stupid thing actually worked.
Lisa Porch
UtiliCorp
Does the symbolic do a perform SELECT or something?
Try doing a push/pop.session at the top and bottom of the dictionary code or change the default login for the system to do a E RUNMENU whatever.
Looks like something is changing the value of @DICT on you somewhere. I believe by using the "E"xecute of "AW", you're creating a whole new environment.
When you get the error, perhaps you could press F5 and type "eval print @dict" to look at the file handle. This might clue you in to the problem.
Try passing the values between the levels using an @USER* VARIABLE setting.