PxPlus User Forum
Main Board => Discussions => Nomads => Topic started by: Lawrence_Leavell on May 04, 2019, 01:10:38 PM
-
No matter what I do, I cannot seem to build a query.
The *nomads generator stops at /pvx/lib/*winproc with an ERR=10 on line 230.
What am I doing wrong?
Lawrence Leavell
-
It looks like line 230 of *winproc is dealing with the Prefix value from Library Defaults. I'd check that the library default Prefix setting for the screen library where you have created your query is correct.
-
Just an FWIW: Make sure the prefix does not start with a character whose hex value is $80$ or higher.
A typical mistake is to include the default SEP character in the prefix (default SEP is $8A$).
-
Something to keep in mind when working with Nomads
Nomads creates a shadow copy of the panel you are working on (if none exists) by doing AND $80$ on the first character of every key for the panel. You are working with the shadow copy until the panel is saved or abandoned.
A good example of this is to shift insert on a field, then paste into a text editor. The record will start with a special character, not the one you were expecting and the asc() will be 128 higher.
So when you open a panel and on exit after no changes and get the messages save and abandon, the shadow record still exists because someone did not abandon their changes however many years earlier.