Next Tip  Welcome To The Access Unlimited Newsletter - Edition 56
See all newsletters

Access Unlimited is an email newsletter that provides free tips, help and information for skilled Microsoft Access users and related software disciplines.

Produced by Garry Robinson (known below as "Ed") from Sydney, Australia.

In this edition

Hide passwords as they are typed in
VBA Compiler Tip
Sell our software
The popular GOOD READING section once again.

 

FVBA Compiler/Coding Tip

If you type incorrect syntax into the VBA subroutine or function that you are working on, do you immediately get a message box that says Compile Error? Whilst this is handy in some cases, generally it is a nuisance that can be avoided. To fix this, open the VBA Environment (Alt F11), choose the menu Tools ~ Options and clear the Auto Syntax check box. While you are at it, make sure the Require Variable declaration check box is filled in.  Now when you enter incorrect syntax, the code will simply turn red and you won’t get the time wasting warning message box.

 

Garry’s Book on Access security and protection now has 15 five star reviews at different web sites. Click here to READ what the Amazon readers have had to say.

Opportunities For Selling Our Software

Would you like to sell vb123.com software? If so then check out this page
http://www.vb123.com/orders/resellers.htm

Wayne Phillips at everythingAccess.com has taken up the reseller challenge and now is selling our two most popular products at
http://www.everythingaccess.com/accessToolbox.htm

http://www.everythingaccess.com/accessworkbench.htm

You will allow find some pretty good Access resource material if you look at the Access tutorials sections at Wayne’s web site.

GOOD READING

In the last Newsletter, “Ed” messed up the link to the page that showed you how to graphically display percentages on forms and reports.
Click to go to the Microsoft article

Transfer data from one database to another – SQL server tools featured.
http://www.databasejournal.com/features/mssql/article.php/3507171

Snippet Editor for VB
http://msdn.microsoft.com/vbasic/downloads/2005/tools/snippeteditor/

How do you get a list of all the forms in your database whilst coding in Access VBA environment. This page tells you how.
www.vb123.com/Toolbox/02_docs/classyforms.htm

How to setup unbound forms
http://www.accessdatabasetips.com/forms.html

A very good page on avoiding Access corruption
http://allenbrowne.com/ser-25.html

A look at creating and editing Excel and Word documents in VB.Net
http://www.codeguru.com/columns/Experts/article.php/c9733/

Setting up a global connection string for ADO to save on multiple connections
http://www.fmsinc.com/free/newtips/Access/accesstip32.asp

Test for SQL Injection vulnerabilities
http://info.101com.com/default.asp?id=15245

Danny Lesandrini demonstrates different ways of executing SQL Statements in VBA Code http://nl.internet.com/ct.html?rtr=on&s=1,1mnk,1,3yyi,ha9k,39gr,amjy

Reinstall Access 97 on a computer that has Access 2000
http://office.microsoft.com/en-au/assistance/HA011383311033.aspx

If you want to 'clean' an Office 2002/2003 document before sending it out, download the Remove Hidden Data tool from Microsoft
Download from Microsoft  

That popular IP phone company Skype is on its way to profitability
http://www.reuters.com/newsArticle.jhtml?type=electionsNews&storyID=8600978

Server and Domain Isolation Using IPsec and Group Policy
http://www.microsoft.com/technet/security/topics/architectureanddesign/ipsec/default.mspx

A simple chat program packaged as a VBA project
http://nl.internet.com/ct.html?rtr=on&s=1,1n44,1,gy6j,4mwi,39gr,amjy

Edit An Excel File In MS Flexgrid Before Importing Into SQL Server http://nl.internet.com/ct.html?rtr=on&s=1,1n44,1,l6hz,enzs,39gr,amjy

Smart Tag programming for those readers with customers in the fast lane.
Microsoft Link     Ed is personally very happy with Google desktop for this sort of task.

WRAPPING THIS EDITION UP

Whether you work a big organization or work for yourself, IT workers need to be aware of and promote the reduction of software and data that isn’t being used. As a general rule of thumb, you should spend 5-10% of your time on cleaning up, backing up and (practicing) retrieval tasks. This link illustrates that the problem can occur in big databases and with the explosion of data that is occurring in all areas of IT, clean-up sessions are something IT workers have to take to heart.

So how do you do clean up an Access database?

One thing you need to do is find out what your users are doing. The best way to find out is to log what forms and reports the users are opening in your database. This is discussed in my book and is also included in the download materials that come with The Toolbox. Once you work out the objects are being used least, you then are in a position to decide if there are any unimportant of your database that can be archived. Note: The one thing you don’t want to do is rely on is discussions with users as they will generally make unsubstantiated claims about the value or lack of value of different parts of a database (or any software really). Far better to approach clean-ups with facts than hearsay.

Another good way to downsize your database is to export the objects to standalone files external of the database. In the free download chapter of my book, I demonstrate how you can create XML files of all the tables and text files of all the objects like forms, reports and modules. If you then sort these by file size, you will have a pretty good idea of the space consuming objects in your database. Then you can look at the big space consumers in the database and attempt to clean up what really takes up the space.

Garry Robinson - Software Consultant and Author
GR-FX Pty Limited
Sydney, Australia.
Ph +61 2 9340 7789 Fax +61 2 9665 8448
Software Resources http://vb123.com/

 --- The end of this edition of Access Unlimited ---

PS Don’t forget Garry’s BRAND NEW Workbench 4… Shutdown your database, send messages to users, colored icons lots of other relevant stuff.

http://www.vb123.com/workbench/

Click on this button Next Tip to read the previous edition of Access Unlimited 
Published  2005-05

 

Our Tools and Resources

  • RSS & Newsletter Here
    Join our newsfeed or sign up for our informative newsletter on Office Automation, Access and VB topics
  • Get Good Help
    If you need help with a database, our Australian Professionals could be the answer

  • Smart Access is online 
    The best magazine written about Microsoft Access is now being transferred to the web. There are 400 articles written by a 100 authors in the collection. 

    Purchase Smart Access

  • The Workbench
    Find out who has your database open, start the correct version of Access, easy compacting and backups, change startup options, creation versions,  shutdown database

  • Read about the Toolbox
    Sample downloads, library resource kit and searchable help file comprising most of the information at vb123.com.au plus hidden downloads etc. Includes one of Smart Access downloads.

  • Convert Access to SQL Server  
    Upsize to SQL Server 2005 or 2008, easily repeated conversions, highly accurate SQL query  translation and web form conversion.
  • Purchase the Popular FMS Products  
    If you purchase the Popular FMS products from us, you will receive a complimentary of Smart Access Gold, Silver or Bronze Collections [Your choice]

 

 

vb123 Professionals


Get Good Help Here

If you need help with a database or Office programming, our Professionals could be the answer because we have worked on many similar solutions



Frontpage Conversions
We have converted vb123.com to Expression Web, contact us if we can help you move to the latest Microsoft web tool.


About The Editor ~ Contact Us
Garry Robinson writes for a number of popular computer magazines, is now a book author and has worked on 100+ Access databases. He is based in Sydney, Australia

Access 2003 Security

MS Access Security

Read More here