[python-win32] Shape file field update problem

2006-08-28 Thread Brad Posthumus
The CalculateField method uses VBScript, which does not support the FORMAT command. Try doing a search for "VBScript" and "FORMAT" to find an alternative method of formatting the date in a text field. As mentioned before this is not a Python issue. For future ArcGIS scripting questions, you wil

Re: [python-win32] Shape file field update problem

2006-08-25 Thread Gabriel Genellina
At Friday 25/8/2006 17:49, Ahmed, Shakir wrote: I generated this python script from Arc GIS Model, tried to run from python win but getting error. I am trying to update a text field from a date filed data. Any help is highly appreciated. # Calculating the fields to the date as a text field gp.

Re: [python-win32] Shape file field update problem

2006-08-25 Thread Ahmed, Shakir
HI, I generated this python script from Arc GIS Model, tried to run from python win but getting error. I am trying to update a text field from a date filed data. Any help is highly appreciated. add_field.py # Created o