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.

Auto population based on related calculation

Featured Replies

  • Newbies

Hi.

I'm very new at FM and haven't touched a DB in years. I'm also pretty sure there's something wrong with the way i've set up my tables so any and all help is appreciated.

First table has two fields:

Date of approval (1) PK (This is a unique value)

Class type (1) (This is made up of recurring values)

Second table has a whole bunch of fields but the ones that are relative are:

Date of approval (2)

Class type (2)

(Neither of these are PK)

Now, ideally i would like:

Class type (2) to pull all the values from Class Type (1) as a drop down;

Then, once the Class Type (2) is selected:

The Date of Approval (1) associated with the chosen record in Class Type (2) auto-populates to Date of Approval (2).

Since i will be creating multiple records using the (2) fields, they really aren't candidates for just adding to the first table (are they?)

Is this possible or should i be setting this up some other way?

I'm using FM Pro 10.v3

Thanks so much. cs12

Don't use the date of approval for the primary key. The pk should be an auto-entered serial number that doesn't get used for anything else and has no meaning.

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.