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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Allow Design Changes



 
 
Thread Tools Display Modes
  #1  
Old September 7th, 2006, 11:37 AM posted to microsoft.public.access.forms
Khoa
external usenet poster
 
Posts: 56
Default Allow Design Changes

Hi all,
I'm tired by setting the form's Allow Design Changes to Design View Only to
every form. Is there a way to set the default form's Allow Design Changes to
Design View Only ? I'm using A2K2.
Thanks in advance.
  #2  
Old September 7th, 2006, 11:57 AM posted to microsoft.public.access.forms
Arvin Meyer [MVP]
external usenet poster
 
Posts: 4,231
Default Allow Design Changes

You can iterate through the forms collection in code, opening each one in
Design View and running something like:

Form.AllowDesignChanges = False

then closing and saving the form
--
Arvin Meyer, MCP, MVP
Free MS-Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Khoa" wrote in message
...
Hi all,
I'm tired by setting the form's Allow Design Changes to Design View Only
to
every form. Is there a way to set the default form's Allow Design Changes
to
Design View Only ? I'm using A2K2.
Thanks in advance.



  #3  
Old September 7th, 2006, 12:51 PM posted to microsoft.public.access.forms
Khoa
external usenet poster
 
Posts: 56
Default Allow Design Changes

Thanks. And thanks to Dirk Goldgar for his/her code. My life must be easier
now. :-)

"Arvin Meyer [MVP]" wrote:

You can iterate through the forms collection in code, opening each one in
Design View and running something like:

Form.AllowDesignChanges = False

then closing and saving the form
--
Arvin Meyer, MCP, MVP
Free MS-Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Khoa" wrote in message
...
Hi all,
I'm tired by setting the form's Allow Design Changes to Design View Only
to
every form. Is there a way to set the default form's Allow Design Changes
to
Design View Only ? I'm using A2K2.
Thanks in advance.




 




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 09:43 AM.


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