Am I getting a corrupted form?

M

Martureo Bob

I use Access 2000 ... SR-1

I have an application with all Modal Popups and have implemented a technique
to go from one form to another (hiding the calling form, and then making it
visible again on the return).

One form is designated at the main form and opens automatically at startup.
It has the buttons to go to all the rest of the forms.

All forms have a control box, with Max/Min/Close.

All forms are maximized upon entry.

The Access database window never appears.

Typically, if you clicked the "Restore Window" button, the form would shrink
to a smaller size, and you could then either minimize it or maximize it. No
problem.

But a couple of months ago, I noticed that Access would hang when I click
the "Restore Window" button on just two of the forms. I had to use the
Windows Task Manager to shut it down.

So I decided there may be something wrong with the forms. So I started with
blank forms, copied all the controls, set all the properties, copied all the
VBA code, recompiled, etc. Everything then worked fine --- I could again
use the "restore" button without any problems.

Then just recently, I noticed that this same problem cropped up on another
form. And then I noticed it on yet another form. I haven't tested all 50
forms in the application, but right now I belileve there are only these
latest two forms where this problem happens. And these are not the original
two.

Am I experiencing some sort of internal corruption of the form (as I
suspect).

Do I have to keep reconstructing forms to make the problem go away only to
find it re-appearing elsewhere? Or is there an actual solution?

Thanks in advance...

Bob.
 
N

Nick Coe \(UK\)

Update your Access if you can, I felt SR1 was a bit fragile
on occasion.

Did you try Repairing the application? Make sure Name
AutoCorrect is turned off in Options.

You could try decompiling and recompiling. Importing all
the objects into a new blank database.

Check these links for more info:

http://www.granite.ab.ca/access/corruptmdbs.htm

http://allenbrowne.com/ser-47.html

--
Nick Coe (UK)
http://www.alphacos.co.uk/ AccHelp + pAnimal
http://www.pjandcoe.co.uk/ Online Store
http://www.mrcomputersltd.com/ Repairs Upgrades

In Martureo Bob typed:
 
M

Martureo Bob

Nick;

I tried importing all objects into a new blank database (and re-establishing
all the options, etc.). Acrtually, I do this once per version of the
application to eliminate the "bloat" --- I wonder if the problem was
introduced during this process (which I did since the prior version). I
test it today, and this problem did not exist in the prior version.

Because I do this fairly regularly, I've not decompiled as I saw no need ---
after I "reconstruct" the entire application, I have to do a compile anyway
(since all I have is source code after I import all the components).

I'll check the links. Beyond that, maybe I need to find a version of A2K
more current than SR-1.

Thanks for the help!

Bob.
 
M

Martureo Bob

followup --- per Allen Browne's suggestions (previously) I do not use
AutoCorrect. Bob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top