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.

GoToRelatedRecor? HELP???

Featured Replies

  • Newbies

Hi!

i have 2 files. From first file i use GoToRelatedRecord[showOnlyRelated] to go to the related records int he second file. HOW DO I LOOP thought ALL related records ONE BY ONE ( in order lets say to add up the total price ):? Is there a way to do so only from file two?? or do i need to have a script in file one ( that goes goToNextRecord ):

The reason i need the script to run in the second file - is to keep the database as flexible as possible.

Plz help.

quote:

Originally posted by Night_owl:

Hi!

i have 2 files. From first file i use GoToRelatedRecord[showOnlyRelated] to go to the related records int he second file. HOW DO I LOOP thought ALL related records ONE BY ONE ( in order lets say to add up the total price ):? Is there a way to do so only from file two?? or do i need to have a script in file one ( that goes goToNextRecord ):

After using the GTRR script step then you just need to run a script in your related file.

There are Loop script steps, using the Go To Record[Next] script steps.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

  • Author
  • Newbies

so there is no way i can loop thought the record in second file by just using the sctip in the first file?

i've tried

open[file2]

loop

go to record [next,exit after last record]

end loop

and that dont work ither i ran this from within file1 frown.gif

quote:

Originally posted by Night_owl:

so there is no way i can loop thought the record in second file by just using the sctip in the first file?

i've tried

open[file2]

loop

go to record [next,exit after last record]

end loop

and that dont work ither i ran this from within file1
frown.gif

You could put a portal to the second file in a layout in the first file and then loop through the portal rows.

Chuck

  • Author
  • Newbies

how do i loop thought a portal?:

quote:

Originally posted by Night_owl:

how do i loop thought a portal?:


If there's only one portal on the layout:

Go to Portal Row [ First ]

Loop

do what you need to for the row

Go to Portal Row [ Next, Exit after last ]

End Loop

If there's more than one portal on the layout:

Go to Field [ (a related field in the portal you want to go to ) ]

Go to Portal Row [ First ]

Loop

do what you need to for the row

Go to Portal Row [ Next, Exit after last ]

End Loop

Chuck

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.