Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

i have a layout where i put 2 portals, each one let users to input data in different ta


This topic is 5710 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a layout with two portals, each one shows information from its own related table and users can insert files in both, one portal for images and one for pre-recorded speech. I defined a script to insert files in portal 1, it works fine, but when I assign this script to a different button for inserting files in portal 2, it always points at first row in portal 1; each one has 3 rows, so I thought that possibly filemaker saw portal 1 (rows 1, 2, 3) and portal 2 (rows 4, 5, 6) as two pieces of the same portal, then, in script for portal 2, i used the script step "Go to portal row (4)" which would be first row of the second portal, but it didn't work.

I'm confused, Is there a way to differentiate various portals in one layout?

Posted

i used the script step "Go to portal row (4)" which would be first row of the second portal

I don't think so.

You can select the portal you wish to address by going to a field that exists only in that portal, then going to the desired row (the default portal is the one furthest to the back of the layout).

But the preferred way is to go to the related table and do whatever is necessary there. Portals are for users, not for developers.

Posted

Thank you very much for your help. I did what you said and it works fine now.

But the preferred way is to go to the related table and do whatever is necessary there. Portals are for users, not for developers.

I'm trying to do it this way because this app is intended to store events information, then i use portals because i want a layout for final users which let them to store typed info, images and speech, but i have separated tables for typed info, images and sound, typed info is parent table, sound and image are children, and portals are intended to populate these tables without separated input for each.

This topic is 5710 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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