A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Delete the open form



 
 
Thread Tools Display Modes
  #1  
Old January 22nd, 2009, 04:50 PM posted to microsoft.public.access
Pietro
external usenet poster
 
Posts: 485
Default Delete the open form

Hi,

I'm running a vb code to delete all forms if a cetrain condition is true,
it works perfectly and deletes all forms except the one through which i'm
running the code, is there a way to delete all forms including the one
running the code?
  #2  
Old January 22nd, 2009, 04:51 PM posted to microsoft.public.access
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default Delete the open form

"Pietro" wrote in message
...
Hi,

I'm running a vb code to delete all forms if a cetrain condition is true,
it works perfectly and deletes all forms except the one through which i'm
running the code, is there a way to delete all forms including the one
running the code?


No, there isn't.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



  #3  
Old January 22nd, 2009, 05:00 PM posted to microsoft.public.access
Pietro
external usenet poster
 
Posts: 485
Default Delete the open form

Thank you Douglas for your reply..
Can i run a function from this form, if yes, please tell me more details

"Douglas J. Steele" wrote:

"Pietro" wrote in message
...
Hi,

I'm running a vb code to delete all forms if a cetrain condition is true,
it works perfectly and deletes all forms except the one through which i'm
running the code, is there a way to delete all forms including the one
running the code?


No, there isn't.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)




  #4  
Old January 22nd, 2009, 05:42 PM posted to microsoft.public.access
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default Delete the open form

Run a function from the form to do what: to delete the form? No, you can't.

Why don't you explain what goal you're trying to accomplish? Deleting forms
from a production application is a very unusual requirement.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Pietro" wrote in message
...
Thank you Douglas for your reply..
Can i run a function from this form, if yes, please tell me more details

"Douglas J. Steele" wrote:

"Pietro" wrote in message
...
Hi,

I'm running a vb code to delete all forms if a cetrain condition is
true,
it works perfectly and deletes all forms except the one through which
i'm
running the code, is there a way to delete all forms including the one
running the code?


No, there isn't.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)






  #5  
Old January 22nd, 2009, 05:58 PM posted to microsoft.public.access
[email protected][_2_]
external usenet poster
 
Posts: 30
Default Delete the open form

* I'm running a vb code to delete all forms

Having spent all your valuable time creating them ?
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.