Setting null to date field from Delphi.

Поиск
Список
Период
Сортировка
От Terry Yapt
Тема Setting null to date field from Delphi.
Дата
Msg-id 463864E8.1030400@technovell.com
обсуждение исходный текст
Список pgsql-odbc
I am working with Delphi 2006 and pgsql-odbc driver 8.02.02.00 to
8.02.04.00.

I am trying to set a date field to null.  In spite of the boolean value
of 'Dataset.FieldByName('datefield').isnull' is returning true
(onBeforePost event), PostgreSQL is complaining with error: 22008 and
showing the date: '0001-00-00' as the wrong date value.

If someone have any idea it would be very appreciated.

Thanks.

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: REQUEST HELP : Documentation on ODBC installation
Следующее
От:
Дата:
Сообщение: [ psqlodbc-Bugs-1003103 ] copy_and_convert_field(...) destroys bind info for wide char varchar columns