>With the help of this group I have been able to solve the problem of changing the path for the database property of a form. My new problem is how to reference the database property of the report.
>With the form I could put the following line of code in the BeforeOpenTables method of the dataenvironment:
>
>Thisform.Dataenvironment.cursor1.database = ...
>
>My question is how do I do the same for a REPORT. I get an error saying "Object is not contained in a form" when I try.
>
>Can anyone help??
>Thanks,
>Jamie
If you are already in DE.Beforeopentable event, then you can say:
This.Cursor1.Database=.....
Edward Pikman
Independent Consultant