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

New Record script

Featured Replies

Hi all

I have two databases. One database is the client info database and the other is a tech support database.

What I'm trying to accomplish is create a script which would create a new record in the tech support database from the client info database. At the same time populate two fields in the tech support database with the info from the client info database. The two fileds are Client ID field and Serial number field.

Thanks in advance

Well to do it specifically as you've asked, I would create two global fields in the client database; G_ID and G_SERIAL. I'd create a constant relationship between the client database and the support database.

Then write a script that

set field G_ID = Client ID,

set field G_SERIAL = Serial Number

Perform External Script Support::New_Record

In the Support Database I would have a script

New Record Request

set field Client ID = Client::G_ID

set field Serial Number = Client::G_SERIAL

But, without knowing anything more about how this is intended to function, wouldn't this be easier to accomplish through a portal set to create new record upon entry. You could base the portal relationship on a concatenation of the ID and Serial numbers then place the two fields, ID and Serial Number into your layout in the Support Database based on the relationship to the original record.

Phil

Here's a thread that may be of interest to you. You don't have to use any scripts in the second db or globals to pass the data. It can be done using one extra calculation in the main file and an extra text field in the second.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.