473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Close Button

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
5 2673
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: marcelf3 | last post by:
Hello.. This page opens a window with some information, but everytime the user changes a field in the parent window, the child window needs to be closed. These 2 functions were supposed to do the...
6
by: Sujan | last post by:
Hello all, Help me! -------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script language="JavaScript"> <!--
1
by: dibyendu_k | last post by:
Hi, There is a problem i cant solve regarding Internet Explorer 5.5. It is regarding the Print Dialog Box. From a webpage if I open a popup window (window.open()) containing buttons Print and...
7
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed...
2
by: Del | last post by:
I have a popup form that consist of a single field called EnteredBy and a Subform that has three fields. The popup form also has a button in the Form Footer called close. In the On Click event I...
2
by: Bruce | last post by:
Hello, I have a form in an Access 2003 application which opens maximized. Its CloseButton property is set to false. On this form I have a command button that opens a report in preview mode. ...
0
by: Tony | last post by:
I am continuing to develop an Access 2007 application which was originally converted from Access 2003. In Access 2003 I was able to disable the Access Close button in the top righthand corner of...
5
by: Tony | last post by:
I am continuing to develop an Access 2007 application which was originally converted from Access 2003. In Access 2003 I was able to disable the Access Close button in the top righthand corner of...
7
by: Sin Jeong-hun | last post by:
I have a dialog form which pops up from the main window using the ShowDialog() method. this dialog has no or button, and it has quite a lot of controls on it. Now, I want to close this dialog...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.