AlanDI1
Programmer
- Apr 20, 2003
- 56
I am doing some maintenance for a client who has an Access database and some Crystal reports. They have an annual sales program and each year the views in Access and the Crystal reports are updated for the new year. The when viewing the 2007 Sales report in Crystal, it has an alias on the from tables so the report is basically the same each year and you just create a new Access Query/View and point Crystal to it. They change the Access Query/View to select the items for the particular year.
The "Show SQL Query" in Crystal looks like:
Select * FROM 2007_dataview dataview, RegMaster RegMaster
Where <blah blah blah>
Order by <blah blah blah>
So the data fields on the report reference dataview.<whatever> but it points to the annual Access Query/View.
I cannot find a way to edit the referenced the Access Query/View to make it 2008_dataview instead of 2007_dataview.
If I go into Database Expert and delete the 2007_dataview it deletes all the fields from the report.
Any good ideas on how to trick it into letting me do that (or maybe an older version of Crystal that isn't that helpful?).
I have no idea when or in what version this was originally created.
All ideas are appreciated. Thanks
The "Show SQL Query" in Crystal looks like:
Select * FROM 2007_dataview dataview, RegMaster RegMaster
Where <blah blah blah>
Order by <blah blah blah>
So the data fields on the report reference dataview.<whatever> but it points to the annual Access Query/View.
I cannot find a way to edit the referenced the Access Query/View to make it 2008_dataview instead of 2007_dataview.
If I go into Database Expert and delete the 2007_dataview it deletes all the fields from the report.
Any good ideas on how to trick it into letting me do that (or maybe an older version of Crystal that isn't that helpful?).
I have no idea when or in what version this was originally created.
All ideas are appreciated. Thanks