PC Review


Reply
Thread Tools Rate Thread

Error message when adding a new record

 
 
forest8
Guest
Posts: n/a
 
      5th May 2010
Hi

This is the situation:

In my database, my user has added a record for a new student. When she
pressed save, the following message appeared:

“The record cannot be deleted or changed because table ‘T_Community
Contacts’ includes related records” OK or Help were the only options.

My user checked the Community contacts tab and there was nothing in it.


After that, everything she clicked on brought up that message. When she
tried to close the program, it popped up again. She clicked ok and got the
following message:

“You can’t save this record at this time Microsoft Office Access may have
encountered an error while trying to save a record.

If you close this object now, the data changes you made will be lost.

Do you want to close the database object anyway?”

Yes No


She clicked yes, closed and reopened it. None of the new names were there,
but changes to existing records had been saved.

What does this error mean and how do I fix it?

Thank you in advanced for your help.
 
Reply With Quote
 
 
 
 
Dorian
Guest
Posts: n/a
 
      5th May 2010
The message means exactly what it says. You must have a table relationship
defined and the changes you made to the record must have conflicted with the
defined relationship.
Check what table relationships are defined for those 2 tables.
You will need either to change the relationship or to add some code to your
form to check for that condition and put out a more meaningful message.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"forest8" wrote:

> Hi
>
> This is the situation:
>
> In my database, my user has added a record for a new student. When she
> pressed save, the following message appeared:
>
> “The record cannot be deleted or changed because table ‘T_Community
> Contacts’ includes related records” OK or Help were the only options.
>
> My user checked the Community contacts tab and there was nothing in it.
>
>
> After that, everything she clicked on brought up that message. When she
> tried to close the program, it popped up again. She clicked ok and got the
> following message:
>
> “You can’t save this record at this time Microsoft Office Access may have
> encountered an error while trying to save a record.
>
> If you close this object now, the data changes you made will be lost.
>
> Do you want to close the database object anyway?”
>
> Yes No
>
>
> She clicked yes, closed and reopened it. None of the new names were there,
> but changes to existing records had been saved.
>
> What does this error mean and how do I fix it?
>
> Thank you in advanced for your help.

 
Reply With Quote
 
 
 
 
KARL DEWEY
Guest
Posts: n/a
 
      5th May 2010
You have setup some sort of relationship between the student record table and
‘T_Community Contacts’. The entry of a new student record is not satisfying
that relationship.

--
Build a little, test a little.


"forest8" wrote:

> Hi
>
> This is the situation:
>
> In my database, my user has added a record for a new student. When she
> pressed save, the following message appeared:
>
> “The record cannot be deleted or changed because table ‘T_Community
> Contacts’ includes related records” OK or Help were the only options.
>
> My user checked the Community contacts tab and there was nothing in it.
>
>
> After that, everything she clicked on brought up that message. When she
> tried to close the program, it popped up again. She clicked ok and got the
> following message:
>
> “You can’t save this record at this time Microsoft Office Access may have
> encountered an error while trying to save a record.
>
> If you close this object now, the data changes you made will be lost.
>
> Do you want to close the database object anyway?”
>
> Yes No
>
>
> She clicked yes, closed and reopened it. None of the new names were there,
> but changes to existing records had been saved.
>
> What does this error mean and how do I fix it?
>
> Thank you in advanced for your help.

 
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
Select Record in query, save as New Record then edit New Record spreadsheetlady Microsoft Access 1 26th Jan 2010 10:41 PM
Problem adding new record to table via form - error 2105 "You can'tgo to the specified record" Martin Microsoft Access Forms 1 26th Aug 2009 02:57 PM
adding a new record at subform should update an existing record (not create new record) Mark Kubicki Microsoft Access Form Coding 1 16th Jan 2009 09:34 AM
Current Record Count, Previous Record #, Add New Record =?Utf-8?B?Um9iZXJ0IE51c3ogQCBEUFM=?= Microsoft Access Forms 0 15th Feb 2005 09:35 PM
I am trying to get a form to pick up the record data from a different record to this new record Thomas Simsion Microsoft Access Forms 4 10th Nov 2003 10:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 PM.