![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi, I'm trying to duplicate a set of found records, while also changing a field entry in the dup process. So say I started with 20 found records. I'd like to run the script and end up with 40 records. 20 untouched old records and 20 new records with the new field entry. Here's the script I tried: Loop Duplicate Record/Request Set Field["Info" , "New Info"] Go to Record/Request/Page [Exit after Last, Next] End Loop All this accomplishes is duplicating the first record and then stopping. I know why it does this, since the new duplicate record is now the LAST record, and so the script exits (Exit after Last). But I can't figure out a way around this. There must be an easy way to do this that I'm missing. Any hints? Thank you! (For the record, "New Info" is a global numerical field assigned by a previous script, and the "Info" field is a key field relevant to another database.) |
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi, I'm trying to duplicate a set of found records, while also changing a field entry in the dup process. So say I started with 20 found records. I'd like to run the script and end up with 40 records. 20 untouched old records and 20 new records with the new field entry. Here's the script I tried: Loop Duplicate Record/Request Set Field["Info" , "New Info"] Go to Record/Request/Page [Exit after Last, Next] End Loop All this accomplishes is duplicating the first record and then stopping. I know why it does this, since the new duplicate record is now the LAST record, and so the script exits (Exit after Last). But I can't figure out a way around this. There must be an easy way to do this that I'm missing. Any hints? Thank you! (For the record, "New Info" is a global numerical field assigned by a previous script, and the "Info" field is a key field relevant to another database.) |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |