ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

TableView properties

  • Summary
  • Properties
  • Code sample

Summary

The Describe function returns the following properties for Table Views. Table Properties are also supported.

A Table View returns a dataType of "TableView".

Properties

PropertyExplanationData Type
table
(Read Only)

A Describe object of the Table associated with the table view

Describe
FIDSet
(Read Only)

A semicolon-delimited string of selected feature IDs (record numbers)

String
fieldInfo
(Read Only)

The FieldInfo object (property set) of the table

FieldInfo
whereClause
(Read Only)

The table view selection WHERE clause

String
nameString
(Read Only)

The name of the table view

String

Code sample

TableView properties example (stand-alone script)

The following stand-alone script creates an in memory TableView from a feature class. It then displays some of the properties for the TableView.

import arcpy

# Create a table view from a feature class
#
arcpy.MakeTableView_management(
        "C:/data/wellingham.gdb/water/water_pipes", 
        "pipes_view")

# Create a Describe object from the table view
#
desc = arcpy.Describe("pipes_view")

# Print some table view properties
#
print "Table View Name: " + desc.nameString
print "Where Clause:    " + desc.whereClause
print "Table Name:      " + desc.name

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal