?
Solved

control name "xxx" is misspelled or refer to a control that doesn't exist

Posted on 2010-01-06
1
Medium Priority
?
434 Views
Last Modified: 2013-11-28
Hi,
I am having 2 related weird problems with Access 2007.
1. Sometimes I get an error message "The control name "xxx" is misspelled or refer to a control that doesn't exist" when I use the embedded macro to build actions. However, I am 100% positive I am doing things right. Also, this error dissolves when I convert the macro to visual basic code. What happened here?

2. I am transferring the database to another computer when I finish creating my database and tested out without errors on my computer. The same error message above suddenly appears in the new computer. Why? It seems like I need to convert all those embedded macros to visual basic codes to avoid this problem but I don't understand how can the database work on one computer but suddenly not on another computer.

Thank you.
0
Comment
Question by:KCL
1 Comment
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 total points
ID: 26196268
Generally when the db works on one machine but not the other, it's due to "references" which are missing on the trouble machine. You can check this by opening the Visual Basic editor and clicking Tools - References. If any are marked as MISSING, let us know.

As to your other issue - I'd suggest that you Compact the database. In 2007, click the Office button - Manage, and then Compact.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Suggested Courses

850 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