Here's my new code, although I managed to figure out the problem with capitalizing on my own.Now I'm trying to figure out how to put an if statement into the field calculator without using VBA (my python shell doesn't run it for some reason).Thanks for any help Bruce.import sys, string, os, arcgisscripting
gp = arcgisscripting.create(9.3)
gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Data Management Tools.tbx")
gp.Workspace = "C:/Max/Bathymetry_Cleanup/Vector/zone17"
gp.OverWriteOutput = 1
vectorlist = gp.ListFeatureClasses ("17*", "all")
for vector in vectorlist:
print vector
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Units", "str(!Units!).title()", "PYTHON_9.3", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Units", "str(!Units!).replace('Meters', 'Metres')", "PYTHON_9.3", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Srvy_Meth", "str(!Srvy_Meth!).title()", "PYTHON_9.3", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Creat_Meth", "str(!Creat_Meth!).title()", "PYTHON_9.3", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Accuracy", "str(!Accuracy!).capitalize()", "PYTHON_9.3", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Depth", "abs(!Depth!)*-1", "PYTHON_9.3", "")
gp.AddField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Metres", "DOUBLE", "6", "1", "", "", "NON_NULLABLE", "NON_REQUIRED", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Metres", 'if str(!Units!) = "Metres": (!Metres!)=(!Depth!)', "PYTHON_9.3", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Metres", 'if str(!Units!) = "Feet": (!Metres!)=0.3048*(!Depth!)', "PYTHON_9.3", "")
gp.CalculateField_management("C:/Max/Bathymetry_Cleanup/Vector/zone17/" + vector, "Metres", 'if str(!Units!) = "Fathoms": (!Metres!)=1.8288*(!Depth!)', "PYTHON_9.3", "")