Avatar of MarkJulie
MarkJulieFlag for United States of America

asked on 

Unable to delete Filemaker record

I occasionally encounter a rogue record in my database that will not allow me to delete it with the following error message: "This operation cannot be performed because one or more required related tables are missing." I have tried filling fields with formatted dummy data with no change. Is there a way to override the error and delete anyway? If not, how should I troubleshoot the related tables?

Mark
FileMaker Pro

Avatar of undefined
Last Comment
MarkJulie
Avatar of Tocacar
Tocacar
Flag of United States of America image


Sounds odd.  First questions that spring to mind are:

- can you create a new record on that layout and delete it (i.e., is it only one specific record that won't delete)?
- do you even have fields on the layout that belong to a related table?

SOLUTION
Avatar of Robert Jackson
Robert Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of MarkJulie
MarkJulie
Flag of United States of America image

ASKER

Tocacar,
I can add and delete new records routinely. Periodically, when a record should delete, it gives that error message. I have about two dozen fields that display data from a related table. I need the data in the related table, but only two fields are primary keys. The primary/foreign keys match and should allow deletion.
Rjplus,
Your steps will take at least half a day to check with >250 fields and 80 tables with relationships, but I am working through that.

Anyone, is there any diagnostic information in the debugger or Database Design Report that would help me?
ASKER CERTIFIED SOLUTION
Avatar of Tocacar
Tocacar
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of MarkJulie
MarkJulie
Flag of United States of America image

ASKER

With over 100 "missing" and "unknown" links and relationships to track down, this is an excellent tool but will keep me busy a few more days as it has for a couple already.

I cannot create a problematic record yet since I have not discovered the trigger. My normal process for creation and deletion works well.



You need to note the layout you are on when you fail to delete a record.  Now look at the table occurrance that this layout is based on.  That information should be the starting point for checking the relationship issues.
Avatar of MarkJulie
MarkJulie
Flag of United States of America image

ASKER

Thanks. I found several occurrences of broken relationships and table names I had changed in the past but wasn't using that were creating problems. I also discovered a logic board and/or hard drive issue with my MacBook Pro since the file works on a Mac Mini without as many problems and crashes.
FileMaker Pro
FileMaker Pro

FileMaker Pro is a cross-platform relational database application that integrates a database engine with a graphical user interface (GUI) and security features, allowing users to modify the database by dragging new elements into layouts, screens, or forms. FileMaker evolved from a DOS application, but since 1992 has been available for Microsoft Windows and Mac OS, and can be used in a cross-platform environment.

4K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo