PC Review


Reply
Thread Tools Rate Thread

Access Closes itself?

 
 
Apprentice
Guest
Posts: n/a
 
      2nd Oct 2008
I have a tabbed form and have created Child and Master Links etc. I was then
trying to put some code in an "AfterUpdate" property of a form that would
allow additional records to be added and retain the original ID Number
previously assigned to this form (that allows multiple records/Duplicates ok).

When I go to the "AfterUpdate" property of the control to select (Code
Builder) to insert the code... Access shuts down when I click on Code
Builder. I can access the VBA view by Alt > F-11, but even then when I
select the control the same thing happens.

I have compiled, compacted and repaired and even reversed all the
development previously done to start the process from scratch, I even removed
the control from the form and readded it. Access still closes when I try to
mess with this specific control.

Any thoughts.... or prayers would help.
--
Your guidance is greatly appreciated!
 
Reply With Quote
 
 
 
 
Marshall Barton
Guest
Posts: n/a
 
      3rd Oct 2008
Apprentice wrote:

>I have a tabbed form and have created Child and Master Links etc. I was then
>trying to put some code in an "AfterUpdate" property of a form that would
>allow additional records to be added and retain the original ID Number
>previously assigned to this form (that allows multiple records/Duplicates ok).
>
>When I go to the "AfterUpdate" property of the control to select (Code
>Builder) to insert the code... Access shuts down when I click on Code
>Builder. I can access the VBA view by Alt > F-11, but even then when I
>select the control the same thing happens.
>
>I have compiled, compacted and repaired and even reversed all the
>development previously done to start the process from scratch, I even removed
>the control from the form and readded it. Access still closes when I try to
>mess with this specific control.



Before making matters any worse, BACKUP the database.

Sacrificing a virgin chicken on your keyboard/alter might
help ;-)

It sounds more like the form's module is corrupted, so I
think you should try decompiling first. See
http://www.granite.ab.ca/access/decompile.htm

If that doesn't allow you to proceed, then create a new
blank mdb file with the references and option settings
(especially make sure NameAutoCorrect it OFF. Then, use
File Import to bring **everything** into the new db (when
selecting the forms to import, select each form
individually, DO NOT use Select All)

--
Marsh
MVP [MS Access]
 
Reply With Quote
 
Apprentice
Guest
Posts: n/a
 
      3rd Oct 2008
Thanks Marshall, the decompile did the trick!
--
Your guidance is greatly appreciated!


"Marshall Barton" wrote:

> Apprentice wrote:
>
> >I have a tabbed form and have created Child and Master Links etc. I was then
> >trying to put some code in an "AfterUpdate" property of a form that would
> >allow additional records to be added and retain the original ID Number
> >previously assigned to this form (that allows multiple records/Duplicates ok).
> >
> >When I go to the "AfterUpdate" property of the control to select (Code
> >Builder) to insert the code... Access shuts down when I click on Code
> >Builder. I can access the VBA view by Alt > F-11, but even then when I
> >select the control the same thing happens.
> >
> >I have compiled, compacted and repaired and even reversed all the
> >development previously done to start the process from scratch, I even removed
> >the control from the form and readded it. Access still closes when I try to
> >mess with this specific control.

>
>
> Before making matters any worse, BACKUP the database.
>
> Sacrificing a virgin chicken on your keyboard/alter might
> help ;-)
>
> It sounds more like the form's module is corrupted, so I
> think you should try decompiling first. See
> http://www.granite.ab.ca/access/decompile.htm
>
> If that doesn't allow you to proceed, then create a new
> blank mdb file with the references and option settings
> (especially make sure NameAutoCorrect it OFF. Then, use
> File Import to bring **everything** into the new db (when
> selecting the forms to import, select each form
> individually, DO NOT use Select All)
>
> --
> Marsh
> MVP [MS Access]
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Performance Analyzer closes Access when I use it. =?Utf-8?B?S2lyYWxlaQ==?= Microsoft Access VBA Modules 0 12th Sep 2006 05:47 PM
Using Data Access Pages wizard closes Access program =?Utf-8?B?Sm9zaGNhdDk5?= Microsoft Access 1 14th May 2006 07:20 PM
Access closes =?Utf-8?B?VGhvcw==?= Microsoft Access 1 5th Nov 2004 01:41 AM
access 2003 select query closes access Keith G Hicks Microsoft Access Queries 1 6th Jul 2004 08:14 AM
Re: Access closes Sandra Daigle Microsoft Access 0 20th May 2004 08:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:12 PM.