By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,509 Members | 2,234 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,509 IT Pros & Developers. It's quick & easy.

Close Button

P: n/a
Hi and TIA! I have a form and have set the Close Button to false so that
users must exit using my close button. However when I open a Report from
this form I want the close button to be available from the report print
preview window. However, the first time I open the report to preview it the
close button (X) in upper right hand corner is there. When I close the
preview and open it again it is not there unless I close the app down and
start again. How can I make it so that it is always there? Thanks for your
time!

--
Reggie

----------
Nov 13 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Unable to reproduce this in Access 2003.

What version are you using? And what service pack?
(See About... on the Help menu)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:bY********************@comcast.com...
Hi and TIA! I have a form and have set the Close Button to false so that
users must exit using my close button. However when I open a Report from
this form I want the close button to be available from the report print
preview window. However, the first time I open the report to preview it the close button (X) in upper right hand corner is there. When I close the
preview and open it again it is not there unless I close the app down and
start again. How can I make it so that it is always there? Thanks for your time!

Nov 13 '05 #2

P: n/a
Hey Allen. Thanks for the reply. I'm using A2K (SP-3) and WXP-Pro and have
installed all updates/patches etc. I think it's because I have it turned
off on the form. I normally allow the close button, but in this case I'm
checking some things on the form before closing it and don't know of a way
to check something on a form and canceling the close when the user clicks
the X to close it. It's not a real big deal, because I have a custom menu
in the report, but most people are used to having the X option as well.
Thanks again for your time.

--
Reggie

----------
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40**********************@per-qv1-newsreader-01.iinet.net.au...
Unable to reproduce this in Access 2003.

What version are you using? And what service pack?
(See About... on the Help menu)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:bY********************@comcast.com...
Hi and TIA! I have a form and have set the Close Button to false so that users must exit using my close button. However when I open a Report from this form I want the close button to be available from the report print
preview window. However, the first time I open the report to preview it

the
close button (X) in upper right hand corner is there. When I close the
preview and open it again it is not there unless I close the app down and start again. How can I make it so that it is always there? Thanks for

your
time!


Nov 13 '05 #3

P: n/a
Forgot to mention, this only occurs when the form is maximized first then
the report is opened. If the form is in the restored state and I open and
maximize the report the close (X) is visible.

--
Reggie

----------
"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:zP********************@comcast.com...
Hey Allen. Thanks for the reply. I'm using A2K (SP-3) and WXP-Pro and have installed all updates/patches etc. I think it's because I have it turned
off on the form. I normally allow the close button, but in this case I'm
checking some things on the form before closing it and don't know of a way
to check something on a form and canceling the close when the user clicks
the X to close it. It's not a real big deal, because I have a custom menu
in the report, but most people are used to having the X option as well.
Thanks again for your time.

--
Reggie

----------
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40**********************@per-qv1-newsreader-01.iinet.net.au...
Unable to reproduce this in Access 2003.

What version are you using? And what service pack?
(See About... on the Help menu)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:bY********************@comcast.com...
Hi and TIA! I have a form and have set the Close Button to false so that users must exit using my close button. However when I open a Report from this form I want the close button to be available from the report print preview window. However, the first time I open the report to preview it
the
close button (X) in upper right hand corner is there. When I close
the preview and open it again it is not there unless I close the app down and start again. How can I make it so that it is always there? Thanks

for your
time!



Nov 13 '05 #4

P: n/a
Hi Reggie,

Place your validation code that's behind your close button inside the Unload
event of the form and use Cancel = True to prevent the form from closing
down if your conditions are not met.

Stewart
"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:zP********************@comcast.com...
Hey Allen. Thanks for the reply. I'm using A2K (SP-3) and WXP-Pro and have installed all updates/patches etc. I think it's because I have it turned
off on the form. I normally allow the close button, but in this case I'm
checking some things on the form before closing it and don't know of a way
to check something on a form and canceling the close when the user clicks
the X to close it. It's not a real big deal, because I have a custom menu
in the report, but most people are used to having the X option as well.
Thanks again for your time.

--
Reggie

----------
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40**********************@per-qv1-newsreader-01.iinet.net.au...
Unable to reproduce this in Access 2003.

What version are you using? And what service pack?
(See About... on the Help menu)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:bY********************@comcast.com...
Hi and TIA! I have a form and have set the Close Button to false so that users must exit using my close button. However when I open a Report from this form I want the close button to be available from the report print preview window. However, the first time I open the report to preview it
the
close button (X) in upper right hand corner is there. When I close
the preview and open it again it is not there unless I close the app down and start again. How can I make it so that it is always there? Thanks

for your
time!



Nov 13 '05 #5

P: n/a
Thanks Stewart! I have since moved it there, but was still curious what was
causing the close (X) to disappear. Thanks for the help!

--
Reggie

----------
"Stewart Allen" <sa****@NOT.wave.THIS.co.nz> wrote in message
news:cc**********@news.wave.co.nz...
Hi Reggie,

Place your validation code that's behind your close button inside the Unload event of the form and use Cancel = True to prevent the form from closing
down if your conditions are not met.

Stewart
"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:zP********************@comcast.com...
Hey Allen. Thanks for the reply. I'm using A2K (SP-3) and WXP-Pro and have
installed all updates/patches etc. I think it's because I have it turned
off on the form. I normally allow the close button, but in this case I'm checking some things on the form before closing it and don't know of a way to check something on a form and canceling the close when the user clicks the X to close it. It's not a real big deal, because I have a custom menu in the report, but most people are used to having the X option as well.
Thanks again for your time.

--
Reggie

----------
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40**********************@per-qv1-newsreader-01.iinet.net.au...
Unable to reproduce this in Access 2003.

What version are you using? And what service pack?
(See About... on the Help menu)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:bY********************@comcast.com...
> Hi and TIA! I have a form and have set the Close Button to false so

that
> users must exit using my close button. However when I open a Report

from
> this form I want the close button to be available from the report print > preview window. However, the first time I open the report to
preview it the
> close button (X) in upper right hand corner is there. When I close the > preview and open it again it is not there unless I close the app
down and
> start again. How can I make it so that it is always there? Thanks

for your
> time!



Nov 13 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.