472,981 Members | 1,241 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,981 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 1594
"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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.