I want to change all my report forms to use private data sessions along with
a classed data environment. This is because the same report can be called
from a number of different places in our program and I dont want to have to
set up the data environment each time. I understand that I could use a form
dataenvironment class but dont want to do this at this stage.
However, I need some way to do 2 things:
1. Put user definable preprocessed code into the INIT method. however I dont
want the users to edit this directly in case they stuff up the code the
class puts in so I would like this added in real time when the report is
run.
2. I am setting table filters based on suer selection outside the report and
as the reports are now private data sessions, do not inherit the filters I
have set. So I want to capture the filter status of all the tables and then
somehow pass this to the report init method to go through each table and set
the appropriate filters.
Hope this helps.
Cheers
David