Aplication with OD Cost Matrix migrating to 9.3 to 10.1

Discussion created by maxortizg on Sep 18, 2013
Good morning I am migrating a application made ??????for the 9.3 to 10.1, using the OD Cost Matrix code to locate the buildings (origins) and the closest distances to Headquarters (destinations) using the name field selected, the application is running in 10.1 but when generating the name field lines is filled with location1, location2, location3 ... concatenating as (location 1 - location 22) when it should be (central1 - 340691), could say that change in the ARCGIS 10.1 to correct the problem and use the names specified in the originis and destination.
attached the code. I appreciate your answers.