473,417 Members | 1,545 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,417 software developers and data experts.

recurring corruption issue

I have a recurring corruption issue that appears to be stemming from a Memo
field in a table. I have done extensive searching about this topic and have
pretty much implemented all possible anti-corruption practices. The field is
not part of a link with another table. I have also used a text field in its
place and not experienced any problems, but the 255 characters just isn't
enough in some cases.

What's happening? The field "ScopeNotes" exists as a control on a form. It
seems that when users close the form while the focus is in the "ScopeNotes"
(Memo) field, it ends up showing as #Deleted in the field. Occasionally, it
corrupts to the point where tI get the "unrecognized database format..."
error. It has always been repaired by compacting, and we have never lost any
other data other than what's in this particular field.

I was thinking of 2 options:
1. Create a separate form with only that control on it, just to see if we
still get the corruption.
2. Creating a new table so many records in a Text field could be entered.

Any thoughts on a workaround for this?
Suggestions are appreciated!
Slez

--
Message posted via http://www.accessmonster.com

Aug 22 '07 #1
4 1612
"Slez via AccessMonster.com" <u23064@uwewrote:
>What's happening? The field "ScopeNotes" exists as a control on a form. It
seems that when users close the form while the focus is in the "ScopeNotes"
(Memo) field, it ends up showing as #Deleted in the field.
Is that always or some times. How do your users close the form? By clicking on the
small X or a cmmand button? If a command button then by clicking on it the focus
gets changed to the command button from the field.

Are the users all using the same Jet SP? What I've done is use the various API calls
available and am checking the version number and date/time of a crucial dll,
msjetxx.dll, to ensure it matches what I have on my system. See the Verify
Appropriate Jet Service Pack is installed page at my website for more details
including sample code: www.granite.ab.ca\access\verifyjetsp.htm
>I was thinking of 2 options:
1. Create a separate form with only that control on it, just to see if we
still get the corruption.
2. Creating a new table so many records in a Text field could be entered.
I know that solution 2 is what one person did quite a while back. He concatenated
multiple text records into one memo field on the form and split it back out again to
the table.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Aug 23 '07 #2
"Slez via AccessMonster.com" <u23064@uwewrote in
news:771539bf47e76@uwe:
The field "ScopeNotes" exists as a control on a form. It
seems that when users close the form while the focus is in the
"ScopeNotes" (Memo) field, it ends up showing as #Deleted in the
field. Occasionally, it corrupts to the point where tI get the
"unrecognized database format..." error. It has always been
repaired by compacting, and we have never lost any other data
other than what's in this particular field.
Is the textbox bound to the memo field? Try making it unbound, and
load the memo values in the form's OnCurrent event, and write them
out in the control's AfterUpdate. That event should fire when the
form is closed (or you could force it if you're using a command
button, which is probably a better choice).

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 23 '07 #3
I removed the closing "X" so users are forced to close the form using the
command button, and also have found we are in need of service packs on some
systems. Our IT is working on that. Hopefully that will resolve the issue,
but I do have one additional question:

The form in question has the ScopeNotes control and a few other controls from
the parent records and there is a subform with the child records. All
controls are in the detail section of the form. I don't think the parent
records are required to be in the header section, but thought I'd throw this
out there if you felt it could be a contributing factor to the corruption
issue. Any thoughts on this?

Thanks for all your help!
Slez
Allen Browne wrote:
>Okay, most of that is fairly standard.

Using the Windows Explorer (i.e. My Computer) in the machine where the
problem occurs, locate msaccess.exe, typically in:
C:\Program Files\Microsoft Office\Office
Right-click and choose properties.
On the Version tab, the version number should be:
10.0.6501.0
Anything less, they need a service pack from:
http://support.microsoft.com/sp/

Then locate msjet40.dll, typicially in:
C:\Windows\System32
The version should be at least:
4.0.8618.0
Depending on their version of Windows, the minor version may begin with a 9,
but if it is less than 8, they need the JET service pack (last item under
Developer Tools on the same link above.)

What I do is to display this version stuff on the Help About screen in my
apps, so a user can just read it to you over the phone. Details in:
Splash screen with version information
at:
http://allenbrowne.com/ser-53.html

Hopefully the command-button-only exit solves this for you. Arvin suggested
an unbound box; you would need to use the command-button-only exit for that
approach also.
>Thanks for the reply!
[quoted text clipped - 68 lines]
>>>Suggestions are appreciated!
Slez
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200708/1

Aug 27 '07 #4
So you have a main form (with ScopeNotes and some other controls) and a
subform (bound to a related table.)

You say that all controls are in the Detail section of their respective form
(i.e. no bound controls are in the Form Header or Form Footer sections of
any form.) That's fine. Having them in the Detail section will not
contribute to the problem.

Both the JET 4 and Office service packs are crucial, so hopefully this will
fix your corruption issues.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Slez via AccessMonster.com" <u23064@uwewrote in message
news:77566df9ec882@uwe...
>I removed the closing "X" so users are forced to close the form using the
command button, and also have found we are in need of service packs on
some
systems. Our IT is working on that. Hopefully that will resolve the
issue,
but I do have one additional question:

The form in question has the ScopeNotes control and a few other controls
from
the parent records and there is a subform with the child records. All
controls are in the detail section of the form. I don't think the parent
records are required to be in the header section, but thought I'd throw
this
out there if you felt it could be a contributing factor to the corruption
issue. Any thoughts on this?

Thanks for all your help!
Slez
Allen Browne wrote:
>>Okay, most of that is fairly standard.

Using the Windows Explorer (i.e. My Computer) in the machine where the
problem occurs, locate msaccess.exe, typically in:
C:\Program Files\Microsoft Office\Office
Right-click and choose properties.
On the Version tab, the version number should be:
10.0.6501.0
Anything less, they need a service pack from:
http://support.microsoft.com/sp/

Then locate msjet40.dll, typicially in:
C:\Windows\System32
The version should be at least:
4.0.8618.0
Depending on their version of Windows, the minor version may begin with a
9,
but if it is less than 8, they need the JET service pack (last item under
Developer Tools on the same link above.)

What I do is to display this version stuff on the Help About screen in my
apps, so a user can just read it to you over the phone. Details in:
Splash screen with version information
at:
http://allenbrowne.com/ser-53.html

Hopefully the command-button-only exit solves this for you. Arvin
suggested
an unbound box; you would need to use the command-button-only exit for
that
approach also.
>>Thanks for the reply!
[quoted text clipped - 68 lines]
>>>>Suggestions are appreciated!
Slez
Aug 28 '07 #5

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

Similar topics

7
by: Ed L. | last post by:
We are seeing what looks like pgsql data file corruption across multiple clusters on a RAID5 partition on a single redhat linux 2.4 server running 7.3.4. System has ~20 clusters installed with a...
10
by: Arno R | last post by:
Hi all Yesterday I found a strange corruption-issue that I can't solve yet or actually point my finger at. I converted an A97 app to A2k. I have done this often enough so I didn't expect trouble...
5
by: Upendra Agnihotram | last post by:
Hi, I am having Client-Server Access application. The source db resides on WinNT Server and some of the client systems are on Windows 2000 Professional. These days i am experiencing frequent...
2
by: lsloan | last post by:
Hi! I have a reoccuring problem with one of my databases where forms will occasionally become corrupted. Since I have backup copies of my production databases, it is easy to recover from using...
1
by: steve | last post by:
Hi All I am writing a program for a gymnasium for membership control It is the first time I have had to deal with appointment diaries and I want to know the best way to store recurring...
2
by: nepdae | last post by:
Please forgive me, this is a long one. My 11-user Access 2000 database is having recurring corruption problems. The symptoms include the following: 1) corrupted fields in recently created or...
42
by: Doug | last post by:
I am in a friendly debate with some co-workers... and my boss. We use Access 2003 for the frontend (on workstations) as well as for the backend (on a Dell PowerEdge running Windows 2000 server,...
14
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using VS2005 and .net 2.0. I'm creating an application that has 3 forms. I want allow users to move forward and backward with the forms and retain the data users have entered. I thought...
8
by: Slez via AccessMonster.com | last post by:
I have read many resources regarding corruption, and implemented as much as possible to prevent it, but I have one user that encounders corruption of their front end database, when no-one else...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.