I am attempting to calculate a field in a parent join layer using a field in the child join table. I am getting the following error:[INDENT]<class 'arcgisscripting.ExecuteError'>: ERROR 000539: Error running expression: getSchool() <type 'exceptions.TypeError'>: getSchool() takes exactly 1 argument (0 given)Failed to execute (CalculateField).[/INDENT]The funny thing is, that it appears to work. Unfortunately, since I get this error the rest of the script doesn't run. Here is the code for the CalculateField line:gp.CalculateField_management("PS_lyr_out", "ScenarioTemplate_1011_temp.ES_06",
"getSchool(!NAME!)", "PYTHON_9.3",
"def getSchool(school):\\n if (school <> \"NULL\"):\\n return school\\n")
Thanks.