Hi,
maybe this link will be usefull for you.
http://www.mvp-access.com/accessvbaf....asp?pagina=71
there is a function called ActivateControlBox that deactivates/activates the
menu, close, minimize and maximize buttons of a standard window. It is
prepared to use it with Access main window, but it is easy to transform it
for using with reports or forms windows. You only have to change the value
of the hWnd variable:
hWnd = Access.hWndAccessApp
with the value of the hwnd property of your report or your form
HTH
--
Saludos,
Juan M Afan de Ribera
[MVP Access]
http://www.mvp-access.com/accessvbafaq http://www.mvp-access.com/juanmafan
"bobdydd" <re**************@yahoo.co.uk> escribió en el mensaje
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi Everybody
On Report Preview
Does anyone know of a way to disable the Minimum, Maximum and Close
buttons, so that the user cannot close by any other means that the
Toolbar button that I have supplied.
This is easy enough on Access 2000 FORMS in Properties>>Format etc, but
this is not available on a REPORT.
I am trying get the users to close the report USING the Toolbar button
that I have supplied
Regards Bob