Solved

Unexpected Error massage

Posted on 1998-05-12
5
478 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
[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
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

705 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