Hi Rick,
It looked so strange to me that I did not think it would be the solution. But it is. I tested it on a document with a master page application table, comparing the result with the result that would appear after calling the function from the GUI. It works.
Kind of crazy that this is not documented in the Scripting Guide, but I guess the warning in the FDK Guide is not there for nothing. The Fcodes ( ) method does not give any error handling options and does not set FA_errno. So there is no way to check whether it has worked or not.
Ciao
Jang