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 5690 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

I am creating a portal and from that portal I want to populate records of another table.

I am doing this with set variable and set field.

The problem is that if I click more than once the button on the portal row, the script create duplicate records.

Ideas to avoid this duplication?

Posted

you could perform a check to see if the record exists first with a find as part of your script...

Posted

Thanks,

can you give an example? I am actually doing this with a loop function. The problem I have is that after the loop I end up on the last record, not on the current onne.

I am also trying with:

set variable [$ITEM; field]

Go to find mode

set field [field;$ITEM]

perform find

if [field<>""]

Exit script

Does not work...

Posted

A Loop? Okay before we get into a specific solution, please explain what the purpose is here...

First you state that you have a button on a portal row that creates another record in separate table ( which I dont quite follow why to begin with). Then you now state that you need a loop.

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