April 5, 20241 yr 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
April 5, 20241 yr 55 minutes ago, Stu1019 said: After it duplicated the first record it quits..... I know its simple but it escapes me.. Because:
April 5, 20241 yr 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
April 7, 20241 yr 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: 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 April 7, 20241 yr by Søren Dyhr
Create an account or sign in to comment