Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi,

I created a join table where records are stored via a script.

I would like to stop these records from being deleted when one erases a record in the "mother" table.

I tried the checkboxes in the TOG. Didn't work.

Does anybody have an idea how to do this?

Posted

If you disable the "Delete records in this table…" option, they won't be deleted. However, you need to make sure the option is disabled in ALL instances of the join table being connected to the "mother" table.

Posted

"Deleting this record will delete the record in the portal below"

No, it won't - the record (in PatientProcedures) is still there. But the field "procedure" in the portal below is coming from the parent record in Procedures. If you delete the parent Procedure, then it can no longer be shown in the portal below. Similarly, if you edit the parent Procedure, the change will be reflected in the portal below - because it's the SAME field.

I am afraid I have no idea what your file is supposed to do, so I cannot suggest an alternative.

Posted

I would like to prevent a record saved in patientprocedures from being changed or deleted.

E.g. a patient underwent a appendectomy. Later on for some reason I delete appendectomy from the list of procedures.

So the records save in patientprocedures can't display appendectomie anymore as this field is gone. Is there a way to prevent this.

Posted

The record in PatientProcedures can display "appendectomy" because it's related to the appendectomy record in Procedures. This is a good thing - it saves you the trouble of entering "appendectomy" every time someone has one, and it allows you to change "appendectomy" to "appendectomie" in one place and affect all related records.

OTOH, it also means that if you delete the appendectomy record in Procedures, the related records have nothing to display. The best way to prevent this is NOT to delete that record. Although you COULD lookup the procedure's name into a field in PatientProcedures (a lookup copies the data), I don't see why you would want to.

This topic is 5669 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.