>In the LoadSave method I use PEMSTATUS() and the macro "&" commands.
>>What can cause this?
Jean-Rene,
Can you post the code in LoadSave, that is where your problem likely is and it is very hard to guess what might be doing it without seeing the code.
Calling PEMSTATUS() more than one time in a line of code can leave object references lying around. For example;
IF PEMSTATUS(...) OR PEMSTATUS(...)
That can be fixed by doing;
llStatus1 = PEMSTATUS(...)
llStatus2 = PEMSTATUS(...)
IF llStatus1 OR llStatus2