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.

Create portal record from script & "Paste" into it?

Featured Replies

I have a sales database with two seperate portals. One searches for a product code from stock control giving me stock available, price, description, etc. The other writes to a sales lineage database.

I select the product in the first portal and enter required quantity.

Then I click on a button "Add to Order" and it adds my quantity to the 'allocated' field in the stock control database and then copies the product code and quantity to the second portal and writes with it the invoice number, salesperson, client ID from invoicing database.

PROBLEM:

I can enter the first product perfectly. In the script I ask it to go to next portal row when entering the next copy and paste but it overwrites the first entry of the second portal.

I then tried to set up a field that increments+1 for every new item and get it to go to portal row by field value - still no joy!

Does anyone know how I can paste into the second portal record? (basically create new record and past product code and quantity)

Thank you

Matt Lightbourn - [email protected]

2 portals on the same layout is problematic. Filemaker does not specifically identify portals, so when doing manipulation on portals you are really gambling on working on the correct one.

The prefered method would be to run a script in the related file which then does the function directly in that file on the specified record.

You are scripting this anyway so, it is just a matter of moving that functionality to the other database file and calling that external script from the invoicing DB.

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.