Casper,
I tried your program
(
for first _file where _file._file-name = 'lt-bin-dtl',
first 'lt-bin-dtl' where recid ('lt-bin-dtl') = _file._template:
message 'found template' view-as alert-box.
end.
)
and got this:
** Unable to understand after -- "lt-bin-dtl, first". (247)
**...