473,395 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Access not saving form design changes but saving code

(access 2002)

Anyone have any suggestions as to what may be causing access to not
save form changes after I "tell" it to, exit database, then re-open
later to discover the changes had not been saved (or somehow
reverted). BUT, new form module code is saved.

Example: created txtTitle control on form. Create AfterUpdate event
code for txtTitle. Save form. Close database. Later...Open database,
open form, txtTitle not there but its event code is.

I also keep getting an error about "communicating with ole server" on
form's OnCurrent, etc. Copying the form and re-pasting seems to fix
this type of error. (I always compact the db)

Any thoughts?
Nov 12 '05 #1
1 5565
John, this is almost certainly a kind of corruption of the database, which
is not uncommon during development when objects are constantly being
modified.

Firstly, make sure you have the latest service pack. Does Help | About
indicate SP-2? If not, go to support.micorosft.com, and download this pack.
Locate msjet40.dll (usually in windows\system32), right-click and check the
Version. It should be 4.0.7xxx. If it's not a 7, download the Jet 4 SP7
update.

Next, open a code window. From the Tools menu, choose References. Deselect
any references you don't need. Then check that the application compiles
(Compile on Debug menu). If you are unsure which references you need, see:
http://allenbrowne.com/ser-38.html

If corruption persists, it issue may be related to Access' attempt to keep
track of changes to the names of fields. To avoid this:
1. Create a new (blank) database.

2. Immediately turn of the Name Autocorrect options (Tools | Options |
General).

3. Import all the objects from the old database (File | Get External |
Import).

4. Set your references again, and compile.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html

"John" <so*********@hotmail.com> wrote in message
news:90**************************@posting.google.c om...
(access 2002)

Anyone have any suggestions as to what may be causing access to not
save form changes after I "tell" it to, exit database, then re-open
later to discover the changes had not been saved (or somehow
reverted). BUT, new form module code is saved.

Example: created txtTitle control on form. Create AfterUpdate event
code for txtTitle. Save form. Close database. Later...Open database,
open form, txtTitle not there but its event code is.

I also keep getting an error about "communicating with ole server" on
form's OnCurrent, etc. Copying the form and re-pasting seems to fix
this type of error. (I always compact the db)

Any thoughts?

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
3
by: Christopher Koh | last post by:
how do you stop Access from saving any changed data in your tables and queries? like i just add or change data on the table/query tables,then click on X (exit)because i have no intention of saving...
5
by: elieli_132 | last post by:
Hi, My problem is the following: Made changes to code in form and closed the form. Now unable to open / design the form. - Tried copying and pasting - the new one does not open /display....
7
by: MacDermott | last post by:
For a client who wants answers, but doesn't want to bother to learn Access, I've built a cut-down query generator, where they can select fields and criteria. I then compose the appropriate SQL...
26
by: jamesbeswick | last post by:
I've been using Access since version 97 and I've migrated to 2003. I've noticed a substantial number of strange ActiveX/OLE and code corruption problems when writing databases. The only solution...
55
by: AnandaSim | last post by:
I just had a google through this NG but have not seen mention of Erik Rucker's blog entry and the new Jet: http://blogs.msdn.com/access/archive/2005/10/05/477549.aspx mentioned by Mike...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
2
by: Frav | last post by:
The Reps team have been experiencing that Access 2002 unexpectedly quits while working and also lots of Corruption Failures and "Record lock can not update" messages since the upgrade from...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.