Jim Hewson
JHewson at karta.com
Tue Nov 2 15:51:55 CST 2004
Lonnie, You can't preview the report with Access Window hidden. To preview the report, you must unhide the Access Window and then hide it again when the report preview is completed. Sequence of events to preview report... - click button to preview report - set form property visible to false - unhide Access Window - preview report - make sure you have a custom menu. - close report - hide Access Window - set form property visible to True HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Tuesday, November 02, 2004 3:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Calling all Gurus - Hide Access Window Yes, I have created the menu as and a toolbar as Jim had also suggested and assigned their names in the property window for the form and cannot see either of them when I open it. Am I missing another step? Thanks Charlotte. Bobby, Right Click dosen't work in this case with the HideWindow code. Thanks to all so far. Charlotte Foust <cfoust at infostatsystems.com> wrote: Have you created a shortcut menu for the report? Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Tuesday, November 02, 2004 12:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Calling all Gurus - Hide Access Window Can't you right-click and choose Print? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 02, 2004 3:10 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Calling all Gurus - Hide Access Window Hello all, I am using the popular API code that hides the access window and just shows a form on the desktop. (Small snippet below) Private Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) As Long Dim dwReturn As Long Const SW_HIDE = 0 Const SW_SHOWNORMAL = 1 Const SW_SHOWMINIMIZED = 2.... It is working fine except withe reports. I am even able to preview reports. However, how do I print them? Has anyone worked this part out? I know there is an answer out there somewhere! Thanks in advance. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com/a -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com/a -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com