AnsweredAssumed Answered

export feature layer (joined with table) to shapefile programmatically

Question asked by geonetadmin on Sep 17, 2012
Latest reply on Sep 17, 2012 by helenchu
Original User: helenchu


My feature layer is joined with a table.  When I do export by using

                    pExportOp.ExportFeatureClass(pInDsName, Nothing, pSelSet, Nothing, pOutDatasetName, 0)

it doesn't include fields from the table.  Is there a way I could set to make it include those fields?
In Arcmap application, when you do data->export you have 2 options: 1/this layer's source data or 2/ the data frame
So in my codes, it must be using "the data frame" option. 
How do I make it use the "layer's source data" ?

Thank you,