Hi, thanks very much for your reply.
Yes the overwrite and add results options are both set true. I have just re-installed ArcGis Desktop. No fix.
Regarding the time, there was a little bit of code running examining directories, thus the 19 seconds. However this made me
check it up, and the lines of code that run from the python window, and SUCCEED return the following message:
Start Time: Tue Nov 06 09:54:00 2012
Succeeded at Tue Nov 06 09:54:10 2012 (Elapsed Time: 10.00 seconds)
The lines of code, exact, nothing extra running from script, doesn't add the table but reports:
Executing: tester
Start Time: Tue Nov 06 09:55:26 2012
Running script tester...
AddResults
P:\Work\CMA_LMD\Users\dbye\Data\2012\scratch.gdb
Completed script tester...
Succeeded at Tue Nov 06 09:55:27 2012 (Elapsed Time: 1.00 seconds)
Now the other noticeable thing is that the immediate window launches a 'make table view' tool, which shows a normal tool
status message in the status bar, which finally pops up with success. If the script is run without the 'always run in foreground'
option set then the standard 'script' status/result appears but still fails! So I wonder if somehow the actual 'make table view' tool
is actually being launched, or whether the script messages are just hiding the tool's message?
I have attached a small zip with a single table gdb and the code in script, should anyone be able to help further with this.
Cheers,
Dave