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.

Foreign Key Update?

Featured Replies

I have 3 tables: Clients, Loans, Payments

I have related these as follows:

Clients to Loans and Loans to Payments

Client Loans Payments

--------- -------- -------

kp_client -> kf_client

kp_loans - > kf_loans

kp_payments

I have just one occurrence called Clients and the clients are entered on one layout and the loans are entered on another layout.

The problem is, when I enter a loan (there is a button on the client's layout that will take you to the Add Loan layout), the kf_client foreign key is not getting added to the table. I tried adding a calculation in the auto-enter options to add the kp_client from the client table but it's still ends up empty. What am I doing wrong.

Need I say that I am new to this?

New Loan button on Client Form runs the script, New Loan from Client:

$clientID = Client::_kP_ClientID

Go to Layout (Loans)

New Rec

Set Field ( Loans:_kF_ClientID; $clientID)

  • Author

Simple, once you know how to do it. Thank you from the bottom of my heart.

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.