W
waynemb
Is it possible to open a table or report in something similar to the "hidden"
mode 'acHidden' used with forms?
I'm opening a table, deleting all the records, and closing it. This
operation causes an ugly flashing of the monitor. I'd like to eliminate
that by opening the table in a hidden mode.
DoCmd.OpenTable "MyTable", acViewNormal, acEdit
Also I'm opening a report in order to export it to an rtf file, and then
closing it. This also causes an ugly flash of the monitor. I'd like to be
able to export the file without the visible opening, hopefully by opening it
in hidden mode or something.
DoCmd.OpenReport "MyReport", acViewPreview, "", ""
DoCmd.OutputTo acReport, "MyReport", "RichTextFormat(*.rtf)",
MyFileName, False, ""
DoCmd.Close acReport, "MyReport"
Thanks
mode 'acHidden' used with forms?
I'm opening a table, deleting all the records, and closing it. This
operation causes an ugly flashing of the monitor. I'd like to eliminate
that by opening the table in a hidden mode.
DoCmd.OpenTable "MyTable", acViewNormal, acEdit
Also I'm opening a report in order to export it to an rtf file, and then
closing it. This also causes an ugly flash of the monitor. I'd like to be
able to export the file without the visible opening, hopefully by opening it
in hidden mode or something.
DoCmd.OpenReport "MyReport", acViewPreview, "", ""
DoCmd.OutputTo acReport, "MyReport", "RichTextFormat(*.rtf)",
MyFileName, False, ""
DoCmd.Close acReport, "MyReport"
Thanks