>My project start program includes already the line 'set deleted on'.
>What else can cause it?
Chaim,
Set deleted is scoped to the current datasession. ie for every datasession you need to re-set it.
Does your report have a private datasession ? If so, put SET DELETED ON in the BeforeOpenTables() method of the dataenvironment of the report
Likewise, if the report does not have a private datasession, and is driven from a form that has a private datasession, then you have to set deleted on in the form.load()
Other possiblitlies are other settings that are scoped to the current datasession. Candiates are
SET ANSI
SET COLLATE
SET EXACT
set the help in SET DATASESSION for a complete list
Gregory