Aussie John Posted July 25, 2004 Posted July 25, 2004 Hi im getting into a bit of a mess try to duplicating a parent and all its children. In trying to duplicate all the children records, I have tried a loop. Each time I create a duplicate, the records jump to the latest duplicated record so I cant move to the next record and duplicate again. I planned to apply the new ID number as each record is duplicated. Any help would be greatly appreciated? thanks
bruceR Posted July 25, 2004 Posted July 25, 2004 It's easy with applescript, if the relation to child records is set up to auto-create. Create a layout with ONLY the portal to child records on it. Do not incude any calc fields in this portal. No parent record fields. Create this script: Go to Layout [Line Items Only] Perform applescript: set dataList to current record -- returns list create new record with data dataList Go to layout [original layout] See attached example. DupChildRecs.zip
Recommended Posts
This topic is 7773 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 accountSign in
Already have an account? Sign in here.
Sign In Now