Is it possible to show a table content when I select a geodatabase table or csv file in python toolbox.

497
4
11-02-2016 09:54 AM
JasonXue
New Contributor

I need a parameter which can be used for this purpose. Not sure which one works. Thanks.

0 Kudos
4 Replies
MitchHolley1
MVP Regular Contributor

What exactly do you mean by table content?  Fields? Rows?

0 Kudos
JasonXue
New Contributor

Because I make a table from csv file, and add header to the table. I need people to check this table first before they run my tool. so I want to make it shows like this when I feed it a table path. So people can view it when they run python tool without opening table. Is it possible? Thanks.

0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

what you can do is make a list of the fields appear as a parameter, which is derived from the selected table.  There is no way to open a table during a run.  

Setting script tool parameters—Help | ArcGIS for Desktop 

0 Kudos
JasonXue
New Contributor

Please check out this. I think this is what I need no matter how it can be made. Any ideas?

https://community.esri.com/thread/50519

0 Kudos