Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access 2010 form to replicate old Database window not functioning properly

Posted on 2013-02-06
9
Medium Priority
?
377 Views
Last Modified: 2013-02-14
Hi-

I'm using Access 2010 and have imported a form that replicates the old database window from Access 2003. I found the form here, listing under number 4:
http://www.accessjunkie.com/Pages/faq_13.aspx

I've attached the database with the form. The form is frmDatabaseWindow. As the source page indicates, you'll need to add the reference MSCOMCTL.OCX in order for the tables, queries, etc. to appear properly.

The columns in the form are supposed to be sortable.  i.e., if you click on "Modified date", it should sort the objects by modified date. They are not sorting for me. Also, when you click on an object in the form, it is supposed to open. That is, if you click on a table name, it should open the table. When I do this, nothing happens.

I should note that when I first imported this form months ago, it was functioning properly. I'm not aware of any changes that would have caused it to stop behaving properly.

Any ideas of why the form is not functioning properly?

Thanks for your help.
DatabaseWindow.zip
0
Comment
Question by:Kenjay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 38859455
the form is working ok here

try doing a decompile
see this link    
http://www.granite.ab.ca/access/decompile.htm

then from VBA window do
Debug>Compile
then
compact and repair of your db
0
 

Author Comment

by:Kenjay
ID: 38861095
Hi-

Thanks for the advice. I tried what you indicated and the form still does not function properly. I should note that the database I originally attached, and the database I'm using now, is the one directly downloaded from the site I mention above. I've tried downloading and using it both on my Work PC and my home laptop, both which use  Windows7 and Access 2010.  I downloaded a fresh copy and found that the form still does not sort and still does not allow me to open up the objects from the form.
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 1500 total points
ID: 38861100
Also - has the machine been updated recently (Office or Windows)? If so, one of those updates could have broken the ActiveX controls. Only fix for that would be to rollback the update, or determine which control is broken and see if a hotfix is available.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

Author Closing Comment

by:Kenjay
ID: 38886013
Thanks--I  believe that this is the issue--I think updates on both my personal and work PCs must have broken the ActiveX  controls related to this form.  Will try to investigate further when I get a chance.
0
 
LVL 48

Expert Comment

by:Dale Fye
ID: 38886040
0
 

Author Comment

by:Kenjay
ID: 38888581
Thank you, fyed!! That did the trick.
0
 
LVL 48

Expert Comment

by:Dale Fye
ID: 38888592
you're welcome!
0
 

Author Comment

by:Kenjay
ID: 38888616
I should note that I fixed it on my personal computer. Now I just have to convince my IT team at work to either make the change, or give me the admin rights to do so. Wish me luck-I'll need it.  ;-)
0
 
LVL 48

Expert Comment

by:Dale Fye
ID: 38888630
Yeah, I had to pass that to the IT team at work as well.
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question