Hey there,
I wrote the script in Python. In ArcGIS I added the script via right mouse click, add script. I wrote down the name of the script, the alias and a brief description. In the next view I searched for the script and I imported the script. So far so good I thought. Then the next screen came;
With a little logic I filled in this:
@ - Input - Table (Required)
@ - Output - Table View (Derived, obtained from input).
Fingers crossed and let it do a test run. So I my model looks like this (see attachment; yeah I know it looks crappy :-), it was made with good old MS Paint; my current workstation has no internet).
With the information above, i try to connect my output with the script. It gives an error:
ERROR 000840: The Value is not a table.
I think my script tool has wrong parameters. unfortunately i cannot think of an other data type to select at the 'add script menu'. Because my main datafile is an .xls or .dbf file (and therefor a table) (I figured out that it doesn't matter which one I selected).
Hopefully you could help me. Thanks in advance though!
Yours,
Mark