Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I have attached a file to help see my problem. We take trips and there are passengers. So I have a People table to hold them all. When adding a Passenger, if they are not in the People table we need to add them. Most times, the passengers are already in the People table.

I want to make users check the Persons list by opening the pop-up of People and hopefully select the passenger. If the passenger is selected, the First and Last name fills in because FirstName and LastName are from the people table. But if the person isn't there, they need to type into the first and last name fields to create the person in the People table and also insert their PersonID into the Passengers table.

I tried putting People fields in the Passenger portal and I have allow creation on both tables. But if I don't select from the list, I still can't type into the field to add a person. Most all my portals use allow created. I could handle this differently (script to go to Person table and back?) but I wanted to keep it the same 'feel and look' as other portals which allow creating right in the portal. How would you all handle this situation please?

AddPeople.zip

Posted

Hi Comment,

You make it look so easy and so fast too. This will do it. There are more fields than I showed so I'll need to pause the User on the People layout so they can enter all the information (instead of custom dialog) but I had never seen custom dialog used like this so I am glad you did it this way.

For the life of me, I cannot see where you might error trap this script. You provide an exit for the User in case they change their mind. What other errors might I need to look for, if you don't mind my asking?

Thank you so much for taking the time to provide this demo!

This topic is 4712 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.