Here is my problem. I want to create an AcrToolbox to make a batch of delete (example). I can perform this delete on a single feature class or several one contained in a workspace. so there is four parameters of this arctoolbox:
1- Boolean parameter: Process a single feature class or several
2- Workspace parameter
3- Feature class parameter
4- Field parameter
What I want is that when the boolean is checked (several feature class to process), a function run automatically to take the table fields of the firs feature class in the workspace and show them in Field parameter. When the boolean is unchecked (single feature class), the function retrieve the field of this feature class and put them in Field parameter.
Usualy, It is quite easy to do it when only a single feature class is used. I just set Obtained from in Parameter Properties.