D
Darragh
Scenario: Removed a field from a database, and attempted to remove it
from several reports as it was now not used. Removed the field from
the query running the report, but forgot that there had been grouping
levels on that field within the report design. Saved the report. Found
that I could not run/design the report once I had done this - running
on the report from the database window, the mouse icon would flicker
and not do anything. Ran the report from code and would get an error
"open report action was cancelled".
Had to delete report, import from a backup, remove the fileds from the
report design, query that ran the report AND the grouping level. Once
this complete, I could run/design the report as intended.
Decompile/compact/repair did not fix this issue. I'm guessing the
error occurs because Access tries to group by on a report with a field
that no longer exists.
Any ideas on what could cause this - or is this a known bug?
Regards
Darragh
from several reports as it was now not used. Removed the field from
the query running the report, but forgot that there had been grouping
levels on that field within the report design. Saved the report. Found
that I could not run/design the report once I had done this - running
on the report from the database window, the mouse icon would flicker
and not do anything. Ran the report from code and would get an error
"open report action was cancelled".
Had to delete report, import from a backup, remove the fileds from the
report design, query that ran the report AND the grouping level. Once
this complete, I could run/design the report as intended.
Decompile/compact/repair did not fix this issue. I'm guessing the
error occurs because Access tries to group by on a report with a field
that no longer exists.
Any ideas on what could cause this - or is this a known bug?
Regards
Darragh