laptop and a wrench

Erro

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

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM037287
EnviadoAugust 7, 2008
Última ModificaçãoJune 5, 2024
Aplica-se àNo Product Found
Versão encontrada9.2
StatusKnown Limit

Informações Adicionais

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

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: NIM037287

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download