Geoprocess Expression call

Discussion created by bulala on Jan 12, 2012

I am using geoprocess model and my problem is my call format to tool. I need to use SQL expression.

This is my task:

Parameter: Selecting_Features
Data Type: GPFeatureRecordSetLayer
Display Name: Expression
Direction: esriGPParameterDirectionInput
Default Value:
Parameter Type: esriGPParameterTypeOptional

When I am using this task in ArcEditor I just give SQL WHERE clause to Selecting_Features and it works.
So what is the right format in javascript to SQL expression ?