Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Inserting from records in another file

Featured Replies

We are using FM to run our real estate office including preparation of contracts of sale.

A contract can have several "condition clauses"

The contract clauses are in another file with a clause number.

In the contract there is place for several clauses which the user enters a number for each and the assocaiated clause is shown on the contract.

Problem is the user needs to know what clause number to use.

What I want to be able to do is allow users to scroll through the clauses until they find the one thay want and then "select it" to be entered into the contract.

I have played with displaying the clauses in a portal and that works but don't know how to have the clause then inserted into the contact.

Help appreciated

I would print the contract out of the "clause" file and use a field in the main file to keep track of the clauses used.

It would work like this:

1) Display the Clauses in a portal in the main file.

2) When you click on a clause it is "Marked" by having the clause number "added" to a field in the main file. The field for clause numbers would be a multi-key consisting of clause numbers separated by carriage returns. The "mark"/"unmark" script would concatenate or remove the clause number from the field.

3) A second relationship with the Clause file (not the relationship used to display all the clauses in the portal) would related the multi-key field to the clause number. The clauses can be selected for printing in the contract by a "go to related record (show only related records) script step. The "non-clause parts of the contract would go in the header and footer of the layout with the clauses as a list in the body.

4) The clauses in the portal can be highlighted by using a calculated container field in the Clause file placed behind the portal row. The calculation would check the "Pattern Count" of the clause number against the multi-key field contents in the main file (to see if the clause is selected) and change the color contents of the container.

Hope this isn't too complicated, it's actually easier to do than describe.

-bd

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.