Solved

Unexpected Error massage

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

860 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