M
Michael M
Hi,
I have a problem that I have been unable to solve.
I am unable to create a snapshot (*.snp) report when I add
borders to all of the report fields. If I remove borders
one at a time, I find a fulcrum point where it all works,
but if I add one more field border (black instead of
transparent) it again fails to create.
The report previews and prints successfully, but the
report is unable to be successfully converted to a
snapshot file if too many fields have borders. No error
message is displayed or returned, and the popup
window "Now printing Page x of ." gets to page 1 then
stops (when it is successful, I can see it go from pages 1
through 4).
The report has 33 fields in the detail section, and 26
calculated fields in the report footer.
Workaround:
By adding borders one at a time, I was able to get 18
fields in the detail section on the report with borders
and still create a snapshot. If one more field is given a
border, the snapshot will not create. I am unable to find
anywhere on the Microsoft site or the rest of the internet
a list of known limitations for snapshot files. Are there
any?
Attempted Resolutions:
- I have compacted the database.
- I have repaired the database.
- I have created a table as a recordsource for the report
instead of queries (to improve speed).
- I have made all tables local to the database and removed
all non-essential components.
- I have created a brand new database and copied
components over one at a time.
- I have cut and pasted all code in the modules and done a
Debug -> Compile and save all modules.
- I have tried making the snapshot in code (called via a
command button) as well as File -> Save As/Export.
- I have closed my Lotus Notes mail and all other open
applications, restarted the pc, then started the database
as the only open application.
- I have created by creating a new blank report and
copyied over all the fields at a section at a time, then
copying the module code behind the form and setting the
form recordsource to match the original report to
effectively be an identical copy of the original report.
After attempting all the above, I am still unable to
create a snapshot report.
I don't really want to be limited to only showing borders
on about half of my fields, and if I create a simpler
report, I can get more fields with borders. Whether I have
just started my pc, or whether I load up my system by
starting Lotus Notes, Excel 97 and another instance of
Access 97 first to load up the system, I still can't show
any more than 18 borders (in this report at least) and
successfully create a snapshot file.
During my troubleshooting, I occasionally got an error
message about "The OutputTo action was canceled" (from a
DoCMD) error messages, but at a later stage got a strange
error message ("Method 'OutputTo' of object 'IDoCmd'
failed") and later did not get any error messages at all,
but the snapshots did still not create.
I am getting error messages again now after making a new
report and copying across all the fields.
How to see the problem:
I have created a 1.6MB (unzipped) / 400K (zipped) file
containing the bare bones of the database that I can email
to anyone interested in my problem.
The code that I am using to create the snapshot is:
=================================
Dim stDocName As String
stDocName = "rpt_Data_Borders_Rebuilt"
DoCmd.OutputTo acReport, stDocName, "SnapshotFormat
(*.snp)", ""
=================================
My system setup:
IBM PC 300
Pentium III 667 MHz cpu
Windows NT V4.0 (Build 1381: Service Pack 6). Revised
Service Pack 6a
Total physical memory: 114,036 KB.
Available physical memory: 22284 KB
USER memory available: 90%
Swap file setting: Dynamic
Swap file usage: 60%
Swap file size: 254972KB
Available space on drive C: 4151403 KB
Microsoft Access 97 SR2
I have a problem that I have been unable to solve.
I am unable to create a snapshot (*.snp) report when I add
borders to all of the report fields. If I remove borders
one at a time, I find a fulcrum point where it all works,
but if I add one more field border (black instead of
transparent) it again fails to create.
The report previews and prints successfully, but the
report is unable to be successfully converted to a
snapshot file if too many fields have borders. No error
message is displayed or returned, and the popup
window "Now printing Page x of ." gets to page 1 then
stops (when it is successful, I can see it go from pages 1
through 4).
The report has 33 fields in the detail section, and 26
calculated fields in the report footer.
Workaround:
By adding borders one at a time, I was able to get 18
fields in the detail section on the report with borders
and still create a snapshot. If one more field is given a
border, the snapshot will not create. I am unable to find
anywhere on the Microsoft site or the rest of the internet
a list of known limitations for snapshot files. Are there
any?
Attempted Resolutions:
- I have compacted the database.
- I have repaired the database.
- I have created a table as a recordsource for the report
instead of queries (to improve speed).
- I have made all tables local to the database and removed
all non-essential components.
- I have created a brand new database and copied
components over one at a time.
- I have cut and pasted all code in the modules and done a
Debug -> Compile and save all modules.
- I have tried making the snapshot in code (called via a
command button) as well as File -> Save As/Export.
- I have closed my Lotus Notes mail and all other open
applications, restarted the pc, then started the database
as the only open application.
- I have created by creating a new blank report and
copyied over all the fields at a section at a time, then
copying the module code behind the form and setting the
form recordsource to match the original report to
effectively be an identical copy of the original report.
After attempting all the above, I am still unable to
create a snapshot report.
I don't really want to be limited to only showing borders
on about half of my fields, and if I create a simpler
report, I can get more fields with borders. Whether I have
just started my pc, or whether I load up my system by
starting Lotus Notes, Excel 97 and another instance of
Access 97 first to load up the system, I still can't show
any more than 18 borders (in this report at least) and
successfully create a snapshot file.
During my troubleshooting, I occasionally got an error
message about "The OutputTo action was canceled" (from a
DoCMD) error messages, but at a later stage got a strange
error message ("Method 'OutputTo' of object 'IDoCmd'
failed") and later did not get any error messages at all,
but the snapshots did still not create.
I am getting error messages again now after making a new
report and copying across all the fields.
How to see the problem:
I have created a 1.6MB (unzipped) / 400K (zipped) file
containing the bare bones of the database that I can email
to anyone interested in my problem.
The code that I am using to create the snapshot is:
=================================
Dim stDocName As String
stDocName = "rpt_Data_Borders_Rebuilt"
DoCmd.OutputTo acReport, stDocName, "SnapshotFormat
(*.snp)", ""
=================================
My system setup:
IBM PC 300
Pentium III 667 MHz cpu
Windows NT V4.0 (Build 1381: Service Pack 6). Revised
Service Pack 6a
Total physical memory: 114,036 KB.
Available physical memory: 22284 KB
USER memory available: 90%
Swap file setting: Dynamic
Swap file usage: 60%
Swap file size: 254972KB
Available space on drive C: 4151403 KB
Microsoft Access 97 SR2