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.

Creating records automatically in relational db - please, help!

Featured Replies

  • Newbies

Could someone help me out with the following problem: one of my databases is updated from the web. Depending on the "status" filed, I need FM to automatically create NEW records in another relational database. For example, if someone updates the field "status" with the word "customer" in the "MAIN" database, I would like to have a new related record created in the "CUSTOMERS" db automatically. Is it possible? Since the entry into the "MAIN" db is made from the web, portal seems to be of no use (I understand that portals can not be updated from the web using CDML and custom web publishing). I am new to FM, so any help will be appreciated.

You could store the value in token and the key as well and create new record in the related database with those tokens inserted to related database.

I'd suggest not "automating" the process completely, rather have a person get a list of new records and decide which are to be added to the main database, otherise it'll be prey to undesirable behaviour.

You mention the web but don't say whether the main database is used through the FMP client or a web interface -- it seriously affects the options for doing such a function.

If working thought an FMP client, I'd show a portal of newly added records and have buttons on each record to add or delete as necessary. Easy. Just check in to the portal a couple of times a day.

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.