Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6051 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I am having an issue with Layouts that I don't understand. Lets say you have just finished entering a new record with all the data in the tabs as well. You go to hit the "New Record" button and accidently hit the "Duplicat Record" button instead. So needless to say you hit the "Delete Record" button. Well, when you delete the new duplicate record it also delets the origional file and all the data in the underlying related tables as well. Why, and How do you stop it.

I can logicly explain why it would delete underlying related records but why would it jump to another record by the same ID number and delete it as well.

Thanks

The Tramp

Edited by Guest
Posted

My guess is that you have it to cascading deletes in your relationships graph; one of which leads back to deletion of the parent record.

Your issue of it deleting all the related records is all the more reason why a unique ID really should have been used to begin with.

http://www.fmforums.com/forum/showtopic.php?tid/194785

Posted (edited)

Your issue of it deleting all the related records is all the more reason why a unique ID really should have been used to begin with.

You know it's funny, that thought crossed my mind as I was writeing the orig. post.

Anyway, this cascade switch you are referring to, is that were the check mark is for "deleting files in this table when related files are deleted in other tables"?(termonology issues again)Can you delete files from a flow down perspective but not back up again?

I am teaching myself FM with an Access background. I am used to the ability to do queries and creating relinks as needed in Access. Here it seems I am stick with the opperationl links to aquire all my reports, one of the reasons for my afore discussed link code. I am also just getting back into IT after a 4 year absence.

Thanks

The Tramp

Edited by Guest
Posted

is that were the check mark is for "deleting files in this table when related files are deleted in other tables"?(termonology issues again)Can you delete files from a flow down perspective but not back up again?

Yes. You can check either the parent side or the child side of your relationship. The issue becomes if anywhere of all your relationships, you have it to delete the record where the child table occurence of either the child side or the parent side is for that main table and that option is turned on, it will delete.

This topic is 6051 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.