Solved

Unexpected Error massage

Posted on 1998-05-12
5
469 Views
Last Modified: 2008-02-01
Unexpected Error massage Number 40230
I get above error when i try to look into my code. Now i can't even see my vb code behid the form. I try renaming and copying form but didn't help at all.
What does it mean? And what is the solution. How can see my code behind the form.
0
Comment
Question by:patelb
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:spiridonov
ID: 1967481
Try Importing your database into a new file.
0
 
LVL 1

Expert Comment

by:CEBAKA
ID: 1967482
You can look you code up with the next statements :

dim db  as database
dim doc as document
dim con as container

dim intCont as integer
dim intCounter, intcounter2 as integer

set db=currenttdb()

for intCounter=0 to db.containers.count-1

for intcounter2=0 to db.containers(intcounter).documents.count-1
debug.print db.containers(intcounter).documents(intcounter2).name
next intcounter2
next intcounter

If you can't see anything in the debug screen this would be a serious problem. If you do see something repair the database and compact it.
0
 

Author Comment

by:patelb
ID: 1967483
I still can't see my debuge windows I still get unexpected error 40230
0
 
LVL 7

Accepted Solution

by:
spiridonov earned 10 total points
ID: 1967484
AS I suggested above, try importing you database into anew file. If this fails, try importing objects one by one to see where it fails. If Access is not able to import your form, I would say it is corrupted and can't be repaired.
0
 

Author Comment

by:patelb
ID: 1967485
I got he solution i exported to same data base it it fix my propblem. Thanks to all
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now