Required Fields

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply
CBenito

Required Fields

Post by CBenito » Thu 13 Jan 2005 19:59

Hello,

I am using Oracle Net, and in the last version of dbexpoda.dll (2.10.0.0) all the fields appears as NOT required.

This bug is not link to a specific version of Oracle.

In 2.5.0.0, everything works fine.

Thanks

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Thu 20 Jan 2005 08:11

We do not set this property, because Borland dbExpress does not allow to insert record where one or more NOT NULL fields must be blank and must be updated by trigger on the server side. So you must set TField.Required property yourself after opening dataset.

CBenito

Post by CBenito » Thu 27 Jan 2005 15:48

This reasoning is not correct.

First, give me the required well and If you want insert a new record with fields NOT NULL with a trigger set the required to False.

Don´t force to me set the required because your case is the exception not the mine.

Thanks

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Tue 01 Feb 2005 10:19

We think you are right. We will set Required information for fields for Oracle driver.

CBenito

Post by CBenito » Thu 10 Feb 2005 19:11

Thanks :)

CBenito

Post by CBenito » Fri 18 Feb 2005 14:42

It seems that I have the same problem with the SQL Server Driver :(

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Fri 18 Feb 2005 15:10

You can write your request to dbExpress driver for MS SQL Server

Post Reply