laptop and a wrench

Bug

The query attribute task in a date field is not returning a value.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM037287
SubmittedAugust 7, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
StatusKnown Limit

Additional Information

10.1 was the last release of the .NET WebADF technology. Client APIs (JavaScript/Flex/Silverlight) are recommended for web application development.

Workaround

There are two work arounds for this issue:1. create a new field as Text field type. Copy all the values from the Date field to the new field. You can get the result from the queryattribute task.2. In the configuration task box, when you configure the task in the Manager, Type in the default value as (date'1983- 03-14' ) instead of (1988-03-14). It will return results. See configureTask5.JPGThere is one more work around. You can test this shapefile C:\Program Files\ArcGIS\DeveloperKit\SamplesNET\data\Y2000HurricaneData\2000_hrcn.shp. You need to define the date field value as the field "TA_DATE", not like "DAY". It will return results if you define one query entry.One user found that creating Text fields and using the format yyyy-mm-dd would allow you to query with operators like <= and >= for the dates. You can also query a range of dates by defining a start and end date with the <= and >= operators.

Steps to Reproduce

Bug ID: NIM037287

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options