Hi Remco,
>I gather my data with a SQL-statement in a form and put that in a Cursor. Then I call the Report and want to use the Cursor to get the information. But I get an error: 'Cannot find alias Cursorname'. I think it's because the form and report each have their own data-environment.
Why don't you execute the SELECT statement in the BeforeOpenTables event of the report?
Christof
--
Christof