Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Access

Codes modules should include Option Explicit by default

 
Jump to:  
 
Dale Fye
PostPosted: Thu Sep 04, 2008 5:45 pm    Post subject: Codes modules should include Option Explicit by default
       
I remember when 2003 came out, there was a checkbox somewhere that if it was
checked, an Option Explicit statement would show up in the declarations
section of all new code modules.

Where is this functionality in Access 2007?

--
HTH
Dale

Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.
 

 
Jeff Conrad [MSFT]
PostPosted: Thu Sep 04, 2008 6:44 pm    Post subject: Re: Codes modules should include Option Explicit by default
       
Hi Dale,

With the VBE open:
1. Click Tools
2. Click Options
3. On the Editor tab, select the option called "Require Variable
Declaration"

--
Jeff Conrad - Access Junkie - MVP Alumnus
SDET - XAS Services - Microsoft Corporation

Co-author - Microsoft Office Access 2007 Inside Out
Presenter - Microsoft Access 2007 Essentials
LINK
Access 2007 Info: LINK

----------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
LINK
----------

"Dale Fye" wrote in message:
news:D41EE08E-C6DF-4C36-9393-9EBAF2A4D702@microsoft.com...

Quote:
I remember when 2003 came out, there was a checkbox somewhere that if it
was
checked, an Option Explicit statement would show up in the declarations
section of all new code modules.

Where is this functionality in Access 2007?

--
HTH
Dale

Don''t forget to rate the post if it was helpful!
 

 
Dale Fye
PostPosted: Thu Sep 04, 2008 10:46 pm    Post subject: Re: Codes modules should include Option Explicit by default
       
Thanks, Jeff

Knew it was there somewhere, but couldn't remember where.

"Jeff Conrad [MSFT]" <UseContactForm@mywebsite.com> wrote in message
news:%23ozaO8sDJHA.1184@TK2MSFTNGP04.phx.gbl...
Quote:
Hi Dale,

With the VBE open:
1. Click Tools
2. Click Options
3. On the Editor tab, select the option called "Require Variable
Declaration"

--
Jeff Conrad - Access Junkie - MVP Alumnus
SDET - XAS Services - Microsoft Corporation

Co-author - Microsoft Office Access 2007 Inside Out
Presenter - Microsoft Access 2007 Essentials
LINK
Access 2007 Info: LINK

----------
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
LINK
----------

"Dale Fye" wrote in message:
news:D41EE08E-C6DF-4C36-9393-9EBAF2A4D702@microsoft.com...

I remember when 2003 came out, there was a checkbox somewhere that if it
was
checked, an Option Explicit statement would show up in the declarations
section of all new code modules.

Where is this functionality in Access 2007?

--
HTH
Dale

Don''t forget to rate the post if it was helpful!

 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

reklama ogłoszenia rolnicze okulary przeciwsłoneczne nowe samochody Linki zakładki