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

Recommended Posts

  • Newbies
Posted

Cant figure out why this does not work to duplicate a set of found records?

go to record / Request first

Loop

Duplicate Record/Request

Go to record/Request/Page [Next;Exit after last:on]

End Loop

After it duplicated the first record it quits..... I know its simple but it escapes me.. Any help would be apreciated

 

Thanks

 

 

 

Posted
55 minutes ago, Stu1019 said:

After it duplicated the first record it quits..... I know its simple but it escapes me..

Because:

 

Posted

Here's a simple method to duplicate the found set:

Unsort Records
Set Variable [ $n; Value:Get ( FoundCount ) ] 
Loop
  Set Variable [ $i; Value:$i + 1 ]
  Exit Loop If [ $i > $n ]
  Go to Record/Request/Page [ $i ] [ No dialog ]
  Duplicate Record/Request 
  // perform changes to the duplicated record
End Loop

 

Posted (edited)

We're not striving to obtain duplicates ... rather the opposite! Which means that the context is pretty limited to being inside a set of join-table records needed as set somewhere else. Such as repurchase of the same as last time...

Since we're on Mac OS, could following also be pulled off, and considerably faster if on large sets of records to duplicate:

Skærmbillede 2024-04-07 kl. 11.28.40.png

But we again look at the context, which urges to be a duplication of a record in it's entirety with all bells a whistles appearing from several portals:

https://filemakerfever.com/2006/06/

--sd

Edited by Søren Dyhr

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.