Jump to content

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

Recommended Posts

Posted

Please tell me if this is possible. Ok quick run down:

Horse.fp5

Name (text)

A Portal (portal of info) Displays (Horse Tasks.fp5::Name, Date, Task, and Notes)

Horse Tasks.fp5

Name (text)

Task (text)

Date (date)

Notes (text)

Now, lets say that someone changes the name in Horse.fp5 (which is the relationship between the files). Now all the info disappears from the portal. I know the reason why is because the records from Horse Tasks.fp5 is still the old name and the file Horse.fp5 has a different name. I need to know if there is a way and how to execute changing the name of the records in Horse Task.fp5 when someone changes the field "Name" in Horse.fp5.

Any replies would be greatly appreciated.

Posted

Yep, there is. When you use an unique ID for horse, and for a horses task, you could make a many-to-many db using a join table(or file). The join-table would hold horse-ID, and task-ID. So, when you change the name of the horse, the horse-ID will stay the same, and that is used to create the relationship with task (through the many-to-many relationship created in the join-file).

Posted

You either need a way to force the Horse Tasks file to update, or take the better route and don't base the relationship on something that can change. That is, make a Horse ID, along with the Name, and match the ID to itself in the other file.

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