473,395 Members | 1,720 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,395 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 2690
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.