weideccan

Change Query Layer Definition with Arcpy

Discussion created by weideccan on Jul 12, 2012
Latest reply on Jul 12, 2012 by SolomonP
Hi,

I have a mxd file with some query layers (File->Add Data->Add Query Layers). Is it possible to change the query layers's definition with arcpy? I need change both the SQL statement and the database connection.

Thanks.

Outcomes