1

Topic: batch update for Survey name?

I am in the process of moving some records from a generic record survey (Squirrels) to a specific survey (Fife Red Squirrel Group) and this is proving very difficult. I was wondering if there is a batch update for this? using the TOK and changing from current survey to new survey name? I think this would help me but if anyone has any other ideas how to do this it would be much appreciated.

2

Re: batch update for Survey name?

Assuming you want to move whole samples/events and not records within samples it  is  easy to do and I attach a Batch update which works in this way. To move only certain records within samples is possible, but a lot more complicated. If you require this let me know and I will see what i can do, but may need to  charge for the work. 

You will need a csv file which contains a column headed Taxon_Occurrence_Key. This  must contains the keys of the records to be moved. Other columns must also be present, but will be ignored. Take a backupup before running this update. Before adding any new records check that it has done what you require and only moved the required records. 

Copy the Batch update files into the Batch Update folder. It will appear under menu LC/Special.
Two parameters are required - the first to identify the csv file with the Taxon Occurrence Keys. The second to identify the Survey which the records are to be moved to. This is the name of the Survey. You can just enter the first part of the name, but if you do this be careful to make sure that it identifies just one Survey.

There are no checks in the update that Survey Event dates are within the Survey Dates. To make sure all is Ok revalidate the new Survey  by right clicking on it and selecting revaidate record.

Post's attachments

LCSpecial_Change_Survey.xml 1.38 kb, 4 downloads since 2019-11-13 

You don't have the permssions to download the attachments of this post.
Mike Weideli

3

Re: batch update for Survey name?

Thank you Mike, I didn't get a notification of your reply but I have now checked the appropriate box in my profile settings to enable auto subscription to topics. Thanks again, Mhairi