Newbies Stu1019 Posted April 5 Newbies Share Posted April 5 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 Link to comment Share on other sites More sharing options...
comment Posted April 5 Share Posted April 5 55 minutes ago, Stu1019 said: After it duplicated the first record it quits..... I know its simple but it escapes me.. Because: Link to comment Share on other sites More sharing options...
comment Posted April 5 Share Posted April 5 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 Link to comment Share on other sites More sharing options...
Newbies Stu1019 Posted April 6 Author Newbies Share Posted April 6 that did it!! thanks so much Link to comment Share on other sites More sharing options...
Søren Dyhr Posted April 7 Share Posted April 7 (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: 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 by Søren Dyhr Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now