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.

Data from Portal to Portal - HELP !

Featured Replies

Hi There !

On a layout I have two portals. One displaying a list of non-editable names and the other a data entry portal with a name field on it. The first portal holds the list of names to be enterd into the second portal and I have created a button in the first portal to insert the name text and Record ID text into the second portal. I have worked this way as the whole database has to be able to work in IWP and this is the one way I have found to paste bothe the name AND the record ID data. This works fine fort the first row of the second portal, but once you have filled in the first row I can't find a way of inserting the data into a new row in the portal, even when one is created... Here is the code behind the buttom

Set Field [Event Staff::Name; People Details::Name]

Commit Record

Set Field [Event Staff::People ID; People Details::ID]

Commit Record

Do I need a button or some way of selecting records on the second portal to determine which portal row the data is selected in? Maybe go to next port row script? There are 3 othere fields to be manually entered in the second porta before the next record is read to be created...

Thanks for any help in advance

Ciao

Steve

  • Author

This link just seems to bring me back to my post again... it's abbreviated though... it reads

http://www.fmforums.com/threads/showflat...true'HASH'post145926

Where is it meant to be taking me... Have also come up with the following code which sometimes works in Filemaker but not IWP... any more idea's?

Set Field [Event Details::Global Event Staff Name; People Details::Name]

Set Field [Event Details::Global Staff ID; People Details::ID]

Go to Field [Event Staff::Name]

Go to Portal Row [Last]

Set Field [Event Staff::Name; Event Details:: Global Event Staff Name]

Set FIeld [Event Staff:: People ID; Event Details::Global Event Staff ID]

Commit Records

this works sometimes, but still sometimes overrights exsisting data in the portal... any ideas?

All these script steps are indicated as web compatible but are they really?

Many Thanks

Steve

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.