G
Guest
In version 97 of Access there were settings that could be made in the
registry under the runtime profile which looked like the following:
[HKEY_LOCAL_MACHINE\SOFTWARE\Company
Name\SampleLog\1.2\Profiles\SampleLog\Report Formats]
Under this heading there would be:
"HTML"="html,SOA_RptToHtml,1,HTML (*.html),1"
"Microsoft Excel"="xls,SOA_RptToBIFF, Biff5,Microsoft Excel (*.xls),0"
"MS-DOS Text"="txt,SOA_RptToAscii,1,MS-DOS Text (*.txt),0"
"Rich Text Format"="rtf,SOA_RptToRTF,Rich Text Format,Rich Text Format
(*.rtf),0"
This allowed the user in runtime to use the RTF format reports to email to
who ever.
Now in version Access 2002 (XP) where do there registry entries go? Because
I would like to implement the automation of the reports using Snapshot and
saving them to a specific directory. This is no problem to write the code of
this. It should be the following:
DoCmd.OutputTo acOutputReport, "Basic Report B", "Snapshot Format", Filepath
Filpath set in the function as a string. This works on the machine with the
full version of Access 2002 even in runtime but a machine that does not have
the full version or no MS Access at all (only the installed Access runtime
version from the developers tool kit) gives an error that suggest that there
is an error in the registry. This is similar to the error obtained in the
pervious version i.e. version 97. Any help would be greatly appreciated.
registry under the runtime profile which looked like the following:
[HKEY_LOCAL_MACHINE\SOFTWARE\Company
Name\SampleLog\1.2\Profiles\SampleLog\Report Formats]
Under this heading there would be:
"HTML"="html,SOA_RptToHtml,1,HTML (*.html),1"
"Microsoft Excel"="xls,SOA_RptToBIFF, Biff5,Microsoft Excel (*.xls),0"
"MS-DOS Text"="txt,SOA_RptToAscii,1,MS-DOS Text (*.txt),0"
"Rich Text Format"="rtf,SOA_RptToRTF,Rich Text Format,Rich Text Format
(*.rtf),0"
This allowed the user in runtime to use the RTF format reports to email to
who ever.
Now in version Access 2002 (XP) where do there registry entries go? Because
I would like to implement the automation of the reports using Snapshot and
saving them to a specific directory. This is no problem to write the code of
this. It should be the following:
DoCmd.OutputTo acOutputReport, "Basic Report B", "Snapshot Format", Filepath
Filpath set in the function as a string. This works on the machine with the
full version of Access 2002 even in runtime but a machine that does not have
the full version or no MS Access at all (only the installed Access runtime
version from the developers tool kit) gives an error that suggest that there
is an error in the registry. This is similar to the error obtained in the
pervious version i.e. version 97. Any help would be greatly appreciated.