Protected field names

I have noticed that while MySQL allows me to use some field names without issue, it seems that PHPMaker may have its own list of those it considers “prtotected”
I have on a few occasions stumbled upon some by chance that have caused errors such as:

Trying to get property 'ViewValue' of non-object

Adding an underscore before the fieldname in my custom code fixes itIs there a definitive list somewhere of field names that should be avoided?

You may read Database, Table and Field Variable Names.

Basically the reserved words in PHPMaker, such as discussed in this topic: https://www.hkvforums.com/viewtopic.php?f=18&t=43811You may actually press [Ctrl] + [Space] of keyboard from Code Editor in your PHPMaker 2022 project to get the list of your fields name, for example from Row_Inserting server event location.

Thanks - it would still be nice to have a definitive list of all these preserved words.

You may refer to C:\Users<user>\AppData\Roaming\PHPMaker2022\src\keyword.xml.

Thank-you!

Please add to documentation: