Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / May 2008

Tip: Looking for answers? Try searching our database.

Access 2000 buttons stopped working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gump - 28 Apr 2008 13:52 GMT
I have put about 2 days of work into an Access database using 2000 with many
macros and code linked to buttons, when suddenly every button stopped
working.  Going to a previous day's backup did not work.  As suggested in a
response to another post, I created a new database and imported everything,
but still no buttons work.  When I try looking at the "On Click" expression
nothing comes up, I cannot launch the Code Builder (Expression and Macro
Builders work fine) and when I try to add a new button using the wizard it
will get to the point of naming the button and give me a "Subscript out of
range" error with no further explanation.  It's like VB is gone for this
database only, and I really don't want to start re-creating all my forms and
reports from scratch without knowing how or why the problem occured.  I do
link to another SQL database (SYSPRO) for some tables, but this is the same
in all our existing databases that continue to work fine.  There is also a
link to an Excel spreadsheet which is a first for me - could that cause the
VB problems?
Arvin Meyer [MVP] - 28 Apr 2008 15:35 GMT
Your form is probably corrupt.  Working on a copy of the file (Do not work
on the original because you may make it even more corrupt) Try using the
Application.SaveAsText code on my website:

http://www.datastrat.com/Code/DocDatabase.txt

Then use the new database you built to reload the form. There is a very good
chance that it will be fixed.

Also have a look at the Microsoft KB article:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;209137

Then have a look at Tony Toews' Access Corruption FAQ at:

http://www.granite.ab.ca/access/corruptmdbs.htm

for some suggestions. Unfortunately, some corruption cannot be fixed - you
may need to create a new database, import what can be salvaged, and recreate
the rest.

Although it's a paid service, Peter Miller does an outstanding job of saving
corrupt databases. Try this URL:

http://www.pksolutions.com
Signature

Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

>I have put about 2 days of work into an Access database using 2000 with
>many
[quoted text clipped - 18 lines]
> the
> VB problems?
Alan - 09 May 2008 09:23 GMT
> I have put about 2 days of work into an Access database using 2000 with many
> macros and code linked to buttons, when suddenly every button stopped
[quoted text clipped - 11 lines]
> link to anExcelspreadsheet which is a first for me - could that cause the
> VB problems?

Hi,

If you cannot handle the recover by yourself, I think you can try a
utility called Advanced Access Repair to repair your Access MDB file.
It works rather well for my corrupt Access MDB files. Its web address
is http://www.datanumen.com/aar/ Hope this helps.

Alan
Tony Toews [MVP] - 14 May 2008 03:04 GMT
>If you cannot handle the recover by yourself, I think you can try a
>utility called Advanced Access Repair to repair your Access MDB file.
>It works rather well for my corrupt Access MDB files. Its web address
>is http://www.datanumen.com/aar/ Hope this helps.

You also work for that company.   Posting without disclosing any
connection is highly unethical and sleazy.

Tony
Signature

Tony Toews, Microsoft Access MVP
  Please respond only in the newsgroups so that others can
read the entire thread of messages.
  Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
  Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.