Field "ID" is required, but not supplied

Forum related to PostgreSQL

Moderators: gto, cipto_kh, EgonHugeist, olehs

Post Reply
fortezza
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 08.02.2010, 06:46
Location: Russia

Field "ID" is required, but not supplied

Post by fortezza »

Hello,
I use a component cxGrid for display of the data, ZQuery (CuchedUpdates = true) for connection to DB PostgreSQL.

I have such problem,
When I start the program and enter data in table, unintentionally I press header and there is a sorting, I fill the remained cells and press SaveButton and there is an error message

"Field" ID "is required, but not supplied"

If during input not to press sorting, all ок

Sorry for my English
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Hello,
if I have understood doing a
header -> Zquery.Sort
and then
Savebutton -> Zquery.ExecSQL

you have that error .. is it correct?

Moreover .. Does that query shows a single table or needs more tables?
scheurer
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: 23.02.2007, 12:52

Re: Field "ID" is required, but not supplied

Post by scheurer »

fortezza wrote:Hello,
I use a component cxGrid for display of the data, ZQuery (CuchedUpdates = true) for connection to DB PostgreSQL.

I have such problem,
When I start the program and enter data in table, unintentionally I press header and there is a sorting, I fill the remained cells and press SaveButton and there is an error message

"Field" ID "is required, but not supplied"

If during input not to press sorting, all ок

Sorry for my English
This problem seems to be the same we encountered with ado and access.
Maybe my patch helps

K.Scheurer
Post Reply