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.

Copy ID from one portal/relationship -> create 2nd

Featured Replies

In the good old days of FM6, I would have used a script in the second file to facilitate this. However I'm now trying to figure it out in FM7.

Attached is a simple db with a few tables. Essentially there is a list of trades and services that can be selected. This is in a seperate file as apposed to an included table.

Upon selecting the category of trade and service, I wish to click on the trade, and have that copied (not just referenced) to the portal above in a new record.

Any suggestions?

OPENME.zip

  • Author

LOL - my brain don't work too well after a night of drinking....

The solution:

Script in main file:

Set field TEMP --> Get ( PortalRowNumber )

Set field TEMP --> Trades::TradeID

After that, it's easy to create the second entry. The trick was revealed in that in order to get the TradeID there needed to be reference to the record, which is obtained by the process of getting the PortalRowNumber....

SG

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.