apply new script to existing creator database
I made a change to my script which counts the number of times a field is selected on a drop down box. How do I (or can i) apply that script to my existing records in my creator data so it will add them into the count?
tocount = 0;
for each record in K9_Narcotics_log [((K9_Handler_Name == input.K9_Handler_Name && K9_Name == input.K9_Name) && Type_of_search == input.Type_of_search)]
{
tocount = (1 + tocount);
}
input.Number_of_searches = tocount;