Hello,

 

I found something strange when using the .net data provider 1.7a on Firebird 1.5.

I have set the property of a DataColumn of a table in a dataset to ReadOnly=true because it is the primary key. That signals the dialog to make the field read-only.

After having done that and added a row with a fresh ID in the primary key field, the dataset is not correctly Update’d by the provider: it says the PK field is

*** null ***, but I can see in the watch-window that it isn’t null in the dataset.

If I switch off the read-only property, it works correctly (but my dialog doesn’t)

 

Bug or feature?

Peter.

 

BTW, I also had problems with numeric error codes, saying “No Message found for…”, as I read others had as well. I uninstalled the provider and Firebird alltogether, then deleted the remains from ‘Program Files’ manually and re-installed (first Firebird with default settings, then the data-provider) and rebuilt my solution. Then I had messages again.

 

Reply via email to