AnsweredAssumed Answered

Will arcpy.MakeFeatureLayer_management work with a personal geodatabase?

Question asked by dryter on Apr 15, 2015
Latest reply on Apr 16, 2015 by dryter

I'm working in 10.2.2 and running this stand alone in Idle.

The script is very simple:

 

import arcpy

arcpy.MakeFeatureLayer_management('D:/SWB/SWB_grid_builder_eq_area2.mdb/precip_sites_yr', 'test')

 

The feature class is just fine and works in ArcMap. I even created a new mdb and new FC to make sure that it is the right version.

It works ok with gdb feature classes, but when I point it at an mdb as above it gives me:

 

ERROR 000732: Input Features: Dataset D:/SWB/SWB_grid_builder_eq_area2.mdb/precip_sites_yr does not exist or is not supportedFailed to execute (MakeFeatureLayer).

 

Anybody know what is going on?

Outcomes