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.

Repeat a value from previous record on a diferent field in present record

Featured Replies

  • Newbies

First of all I

Even though this is a two file solution, it is a pretty complex one for the novice. The way to set this up is to use one file for the loan (Loan.fp5) and another for the payment schedule (Pay.fp5). These would be related by an auto entered field "Loan#". The records in Pay.fp5 are created with a looping script in this file run as an external script from the Loan file. The best way to bring the ending balance forward is to use a relationship based upon a composite key calculated from PaymentNumber and Loan#. Using this method, if a correction is made to any payment, the change will ripple through all the payment records. The key might consist of a couple of fields:

PaymentNumber (number)

PreviousPayment (calc, number, indexed) = PaymentNumber - 1

LastPaymentKey (calc, text, indexed, ASCII) = Loan# & "-" & PreviousPayment

CurrentPaymentKey (calc, test, indexed, ASCII) = Loan# & "-" & PaymentNumber

The self relationship in the Pay.fp5 file would match LastPaymentKey<---> CurrentPaymentKey. This would be used to access the Ending Balance from the previous records.

I realize for the novice is this much too brief of a description of how to do this, but this is quite a complex project for a novice. The concepts you will need to master to perform this design are:

Relationships

Scripting and Looping Scripts

External Scripts

Composite keys used in relationships

If this is a project for a business use, you might want to hire some consulting help to complete this in good order. If this is a personal use file, it will definitely make study to complete it.

-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.