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

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

Recommended Posts

  • Newbies
Posted

Hello,

I'm currently rebuilding my FM 5.5 application to get familiarized with FM 7. The separation model appeals to me so I'm trying to keep the tables in one (data) file and all layouts, relations, scripts etc in another (layout) file. However, I have some calculated fields based on other tables and I can't figure out how to get them to work without adding relations to the data file.

For example, I have a parent table, INVOICE, with two child tables, LINEITEM and PAYMENTS. In my old solution I had a calculated field, OUTSTANDING, in INVOICE that subtracted LINEITEM amounts from PAYMENTS amounts. The field OUTSTANDING was later used for a value list so that whenever a payment was booked the user could easily find an outstanding invoice to match it with.

Of course I could add some relations to the data file as well but I would really like to take advantage of the separation model so any ideas on a workaround are most welcome.

Posted

I have a demo file of a many to many relationship posted in this area. It requires the Troi Text Plug-in which you can download on a trial basis from http://www.troi.com. I have three files Data, Business Rules & Reports, and Interface. All calculations are done in Business Rules & Reports tables. There is a one to one relationship between the Data tables and the Business Rules & Reports tables. There are no tables in the Interface file.

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