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

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

Recommended Posts

Posted

Hello,

Here is what I need to do.

Perform a search to find my Participants

Loop thru the selected records from the Participants table

In the Loop create a record in the table Temporary

Based on criterias in a multivalued field in the Table Participants (Conditional if)

End Loop if the end of file Participants in reached

Is this technically possible with FileMaker.

Posted

You have described exactly how it is done so you clearly have a good understanding of the procedure - what's stopping you writing the script?

Your plan is fine - is there anything specific you need clarity on?

Posted

Hi,

I am unsure how FileMaker works.

I must go into search mode for the table Participants.

Then loop thru the selected records of table Participants.

But in the loop I need to create records for another table that has no relations to Participants.

So as you suggest, this is possible? Could you please provide me with an example ? Because I don't understand...

Thanks

Posted

Andrew

this should give you an idea for your needs.

Enter Find mode

set field(targetfield; calculated results)

preform find

goto record (First)

loop

set field (targetfield; calculated results)

set field (targetfiled; calculated results)

goto Record (next) "Check box exit after last"

end loop

Make sure you check the box [color:red]exit after last or you will be stuck in the loop.

Hope this helps

Lionel

Posted

Attached is a file with a simple find script that will create records in another table.

I assume that your other table is is the same file.

Or is the other table in a separate file and importing/exporting your found records may be a better option.

Is this the best method for what you want to accomplish?

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