We found that when right-clicking on a -INCLUDE in the Dev Studio report text editor, that the popup menu frequently (not always...) contains an item 'Open Include'. Convenient, isn't it?
Well... NO! As it turns out, this feature can result in Interesting Times trying to figure out why a previously functioning report suddenly stopped working.
If you ever click 'Open Include' on an include
from a different app directory, what happens is NOT that the feature opens that included file from the other directory.
Instead it
creates a NEW file with the same name in the CURRENT app directory!. The only contents of that file is a comment with the file name. It does show you the new file and its contents, but it also saved it for you already...
Since this newly created (mostly) empty file is now the first procedure of that name in the path, that's what gets included!
Thanks, Dev Studio!
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :