G
Guest
I have a strange thing happening with the reports in my database.
None of the reports will open the first time they are accessed, all I get is
an error message with Runtime Error 2501 - The OpenReport Action was
cancelled.
This only happens for the first report that is accessed once the database is
started, eg. if i open the databse and attempt to open report A it fails , if
I try report A again it works, and all other reports then work. Also If I try
report A first and get the error then try report B, report B will then work,
as will all other reports 9Hope this makes sense?)
I have a whole bunch of reports that do various things, and all are fired in
different ways, some via command buttons on a form, some via events on form
fields, and some from the switchboard, and it happens to them all.
Research tells me that 2501 means that there's no data for the report (Where
can I get hold of a list of what the error numbers mean?) which is untrue, as
when the report is run for the second time with the same criteria in the
underlying queries they work ok.
Any help anyone has in solving this would be much appreciated.
Thanks
Neil
None of the reports will open the first time they are accessed, all I get is
an error message with Runtime Error 2501 - The OpenReport Action was
cancelled.
This only happens for the first report that is accessed once the database is
started, eg. if i open the databse and attempt to open report A it fails , if
I try report A again it works, and all other reports then work. Also If I try
report A first and get the error then try report B, report B will then work,
as will all other reports 9Hope this makes sense?)
I have a whole bunch of reports that do various things, and all are fired in
different ways, some via command buttons on a form, some via events on form
fields, and some from the switchboard, and it happens to them all.
Research tells me that 2501 means that there's no data for the report (Where
can I get hold of a list of what the error numbers mean?) which is untrue, as
when the report is run for the second time with the same criteria in the
underlying queries they work ok.
Any help anyone has in solving this would be much appreciated.
Thanks
Neil