bpcstaff Posted August 18, 2008 Posted August 18, 2008 I have a database with two main tables - individuals and companies. We just discovered that every time we delete an individual record, FMP deletes ALL records with the first and last name (even though each record has an individual serial #) - So if I create three records with the first and last name fields as 'Jane' 'Doe' and delete one record (either through a button or through Ctrl E), all Jane Does disappear - even though they have unique Contact ID's and are associated with different companies. I don't have this problem in the Company table - I'm a relatively advanced FMP user, and I can't for the life of me figure out what's happening, here. Any assistance would be greatly appreciated... this is pretty urgent. Thank you!
bpcstaff Posted August 18, 2008 Author Posted August 18, 2008 I should add that this happens if I run a search for all Jane Doe's or am showing all records - it doesn't matter. Additionally, the delete button isn't in the header - it's within the body of the record.
Vaughan Posted August 18, 2008 Posted August 18, 2008 It sounds as though there is a self-join relationship that uses the name as the match field, and it's set to delete records.
Jack Rodgers Posted August 18, 2008 Posted August 18, 2008 Does the Delete button perform a script something like: Find all fieldname = fieldname delete all records ?
bpcstaff Posted August 19, 2008 Author Posted August 19, 2008 Right you are - I thought it had been deleted, but no - thank you so much!
bpcstaff Posted August 19, 2008 Author Posted August 19, 2008 Hey, Jack - actually, it was a self-join relationship causing me grief - but thanks!
Newbies Cyphran Posted October 15, 2008 Newbies Posted October 15, 2008 Thank you for this! I have been frustrated with a similar issue for a couple months now and located a self-join relationship I created when I originally designed the database that is no longer used for anything. This is why clean programming is important...
Vaughan Posted October 15, 2008 Posted October 15, 2008 "This is why clean programming is important..." .. and thinking very carefully before the "delete" option in the relationship is selected. }:(
Recommended Posts
This topic is 5885 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now