Solved

Unexpected Error massage

Posted on 1998-05-12
5
473 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
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…
Familiarize people with the process of utilizing SQL Server functions 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 Ac…

772 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