Set Lookup Values "==" some value via deluge script

Set Lookup Values "==" some value via deluge script

Application: buscar
Form: Colonia
View: Colonia
Form: Delegacion
View: Delegacion


Form Colonia holds 2005 Colonias for Mexico City, Only.
Colonia in Mexico is like counties, in USA.
Delegacion in Mexico is like cities, in USA.

I am dinamically populating Colonia Field, every time I choose an option from Delegacion Field.

IT WORKS FINE.


I have a new need.

I am a non-profit, I have 2500 properties, from 80 real estate companies.
I made a zoho app, where they typed the Colonias names, so some of them are misspelled, or typed with uppercases, or they have some word missing.

I need to generate a mass-update function, that does the next.

-for this 200 records (usage limits)
-Delegacion "Look Up Field" equal to Delegacion "Regular Drop Down"
-Colonia "Look Up Field" equal to SOME Colonia in Colonia Form that is LIKE Colonia "Regular Text Field"

MY PROBLEM IS:

I dont know what sintax use to update LookUp fields.
No regular sintax seems to work.
In other words, I cant Set Delegacion "Lookup" with the value of Delegacion "Dropdown", for each record, neither can I update Colonia "Lookup" Field value through deluge script.