vb123.com

Garry Robinson's Popular MS Access, Office and VB Resource Site

 

Home  Contact Us
Order our Software

RSS & Newsletter  
Join our XML/RSS Newsfeed or sign up for our informative newsletter on Office Automation, Access and VB topics
Read More

Get Good Help
If you need help with a database, our Professionals could be the answer
Read More

  Is Your Database Corrupt ?
If you have a corrupt database, Try our Access Recovery service

The Workbench  Find out who has your database open, start the correct version of Access, easy compacting and backups, change startup options, mde compile,  shutdown database Read and Download

The Toolshed 
Searchable help file comprising of all the information at vb123.com plus hidden downloads etc. Read More



The Toolbox

Libraries of software that we regularly import into our projects. Enhances the Toolshed More..


DryToast New
Backup and query your BaseCamp
® projects
Read More


Datamining/Graphs

Explore your data with this versatile graphing and data mining shareware tool. 
Read More

Garry's Blog
Find out a few other things that Garry has been writing about Microsoft Access. Read more

About The Editor 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
Contact Us ...

Search ...

or try our Aussie
 vb123.com.au
  mirror site

 

 

Next Tip  Welcome To The Access Unlimited Newsletter - Edition 61   
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, 

Service Pack introduces Access to Excel Linked Table Problems
Access Workgroup files and shortcuts
New Database Repair service at vb123.com

Good reading links
 

< GUACAMOLE DIPPED -ACCESS TO EXCEL LINKED TABLE GOTCHA >

In the latest service pack for Access 2003 and also in an automatic upgrade for Access 2002 lurks a significant "Gotcha" for those people who happen to manage Excel data (cells) through Access linked tables. The change to Access is simple, before the upgrade you could change Excel data through the linked tables and now you only have a read-only view. Whilst this was always a fairly unstable linked table option, if you used it sparingly, it could do the job. Well, now if your database uses this feature for managing data, you are in a spot of bother.  More on this issue in kb 904953 at http://support.microsoft.com/kb/904953/

Now it is more than likely that this software modification is related to the following successful patent claim that is discussed at the following website

http://news.com.com/    also at http://news.zdnet.com/2100-9593_22-5735432.html

If you are interested in what this means, have a look at the article that I wrote for Smart Access back in 1998 that describes using Excel as a backend database.  Granted, I have rarely used the technology since, but when this upgrade popped up in my Windows Upgrade an hour or so ago, I was very curious.  So I tested the download with the article before and after the upgrade and guess what, the links went from read/write to read-only.

http://www.vb123.com/toolshed/98docs/excelbe.htm

Note that the following Remote Database query also reverts to read-only mode.

SELECT [Companies$].*, * FROM [Companies$] IN 'c:\tmp\excel_be.xls '[Excel 8.0;];

where Companies is the name of the worksheet in Excel.


My concern on this issue is that quite a lot of applications may fail for no apparent reason. "In my humble opinion, Microsoft should release a tool so that we can search all our Access databases for the use of Excel linked tables."

Checking If You Have A Problem

Run the following query in your front-end database(s)

SELECT Name FROM MSysObjects WHERE Connect Like "*Excel*"

Also search your VBA for the term 
[Excel

if you happened to be one of the few people on the planet who used Excel with remote queries.

Remember this is not a problem if you are only reading Excel and it may actually stabilize a few Excel spreadsheets because people won't be able to accidentally change the data. Also in case you were worried, Excel Automation is not affected by this change.

< Related Word / Access Upgrade Issue >

Posted from Simon, a reader of the newsletter

Keep up the good work, your articles are very useful to us semi pro developers :-)

Re todays newsletter detailing latest office upgrade breaking excel links.... A recent Office upgrade recently also damaged my automated mail merges.

I inherited a system which produces where I work...these are merged into a word document based on XXXX type. Its been working well for years, and suddenly a couple of weeks ago one user started getting "requested object not available" errors during the merge. She ran the process on her colleagues machine and it worked without an error. The next day the colleagues machine displayed the same error.

So I went over, tried it on a third machine ( a member of staff who had been off for 2 weeks), and it worked ok as normal.... Then I remembered our windows upgrade server only delivers one package per day....so each day the pc was getting upgraded a little more, and eventually one service pack was arriving which was breaking the mail merge.  Copious searching and debugging revealed the problem to be here:

With .ActiveDocument.MailMerge
  .Destination = wdSendToNewDocument
  .SuppressBlankLines = True
  With .DataSource
    .FirstRecord = wdDefaultFirstRecord
    .LastRecord = wdDefaultLastRecord
  End With
  .Execute Pause:=False
End With

and the fix to be this:

With .ActiveDocument.MailMerge
  .OpenDataSource Name:="c:\path to mdb", _
  LinkToSource:=True, AddToRecentFiles:=False, _
  Connection:="table certaward", _
  SQLStatement:="SELECT * FROM `table or query`"
  .Destination = wdSendToNewDocument
  .SuppressBlankLines = True
  With .DataSource
    .FirstRecord = wdDefaultFirstRecord
    .LastRecord = wdDefaultLastRecord
  End With
  .Execute Pause:=False
End With

I have experts exchange to thank for the solution....from this thread:

http://www.experts-exchange.com/Applications/MS_Office/Q_20629652.html

I don't know why this change occurred, or why adding the opendatasource property works but it does, and this info may be of use to one of your other readers.

Anyway hope you find this info useful. keep up the good work.  ... Simon
 

< NEW ACCESS SECURITY ARTICLE AT vb123.Com >
 
One of the readers of my book posted a good question on how to manage shortcut files with Access security workgroup files. Here is the full answer.

http://www.vb123.com/toolshed/05_access/workgroupfiles_shortcuts.htm

 

< NEW ACCESS DATABASE RECOVERY SERVICE AT vb123.Com >
 
Every now and again our customers and even members of my team run into an Access database that is corrupt. Our usual approach is to stubbornly try and fix the database ourselves and generally we are good at doing this. Early in May, 2005, when we were battling with a database, I concluded that we were wasting too much time trying to fix our databases. After a lot of research, we teamed up with one the best repair companies on the web to bring you an automated repair service for your Access database. Please bookmark the following page for when you need your database repaired.

http://www.vb123.com/fixaccess/



< GOOD READING >

Danny Lesandrini writes about importing data from Microsoft Excel
http://www.databasejournal.com/features/msaccess/article.php/3557541

A very interesting article on vb6 to vb.net migration with some important related resource links.
http://www.ddj.com/documents/s=9776/ddj1129914421813/swigart2.htm

A page covering Access 97 workgroup security, database passwords, replication and other security issues
http://www.microsoft.com/technet/archive/office/office97/reskit/office97/029.mspx

Access 2000 Replication and Security
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html/deovrsecuritydatabasereplication.asp

Code based security in .Net
http://msdn.microsoft.com/msdnmag/issues/05/11/CodeAccessSecurity/default.aspx

Important .Net page links
Read more

Office 12 Server - Read all about it
http://www.microsoft-watch.com/article2/0,2180,1859568,00.asp

Office 12 the main component of MS's Business Intelligence Strategy
http://www.microsoft-watch.com/article2/0,2180,1875259,00.asp

Download a chapter about visual studio dot net Office programming
http://www.devx.com/assets/download/14091.pdf

For the brave, Microsoft has simplified the licencing for its Open Source Initiative (what ever that is)
http://www.internetnews.com/dev-news/article.php/3557536

I have updated some of the links on the Outlook tasks/Access article at vb123.com
http://www.vb123.com/toolshed/05_docs/outlooktasks.htm

Backup SQL server and then WinZip it in a script
http://www.databasejournal.com/features/mssql/article.php/3558641

Smarter thinner office - business tools
http://www.internetnews.com/ent-news/article.php/3558536

Protecting Internet Explorer at your office
http://redmondmag.com/features/article.asp?EditorialsID=520

 

--------------------------------------
If you like this newsletter, why not try

The Buzz Newsletter from FMS
http://www.fmsinc.com/

Superior Software for Windows Newsletter
Access, SQL Server and .NET Downloads
http://www.ssw.com.au

Rick Dobson’s Web Site for Access Programmers
http://www.programmingmsaccess.com

Helen Feddema - Book Author and Editor of Woody’s Access Watch
http://www.helenfeddema.com/

UK Access User Group
http://www.ukaug.co.uk/

 

< WRAPPING THIS EDITION UP >

Its interesting that Microsoft used to be very strict  in supporting anything that they have written before. They were until security issues got under their guard and they had to back track on things that have since proven to be very enticing to those evil time wasters who try to scam everything online. Here at vb123.com we were caught by one of these back tracks because the system that we used for the online table of contents stopped working because it used a local ActiveX control, something that was banned in newer versions of Internet Explorer. Now with the latest automatic upgrade of Access we find that things are being turned off for legal reasons and we just hope that the world of international patents leaves us alone in future...

Anyway the good news story is that vb123.com now has a simple Table of Contents that won't get clobbered by any software backtracks.

http://www.vb123.com/search/toc.htm


 

So thanks for reading our popular newsletter.  Feel free to make comments, copy the email to a friend or maybe even contribute to the next edition. And if you can, have a look at our software by using the Marketing section on the left hand side of this newsletter. If you really like this newsletter, why not purchase The Toolshed and you will get all the other newsletters and plenty more in a developer’s knowledge base tool with super searching facilities.

Garry Robinson - Software Consultant and Author

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

PS Don’t forget the Workbench … http://www.vb123.com/workbench/

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

 

Links >>>  Home | Search | Workbench | Orders | Newsletter | Access Security | Access professionals