There is one particularity about using proxy variables in snippets that can explain your problem. Inside snippets, proxy variables are not accessed directly, a snippet works with virtual copy of the string Report variable (for sake of performance). Accordingly, changes of Report variable inside of snippet are not immediately recorded into a file. This implies that only the last content of Report variable will be written into a file (writing occurs after snippet is completed). For example, if you have inside the same snippet:
Report=”Word1”; // This does not causes immediate writing to data report.
Report=”Word2”;
The only “Word2” will be actually recorded in the Report. The fix is easy, if you just re-write as:
Report=”Word1”;
Report=Report+”Word2”;
In this case, a composite string, “Word1 Word2”, will be recorded.
This is what may happened in your code, the first assignment of the Report variable is overwritten by the second one. The same principle is applied to other proxies. For example, when you change the Renderer's position in snippets:
Position=new clPoint(20,20);
Position=new clPoint(200,200);
the first assignment will be ignored and rendered will be moved directly to 200,200, after snippet call is completed.