This is a save problem with the comboBoxItem discussed in this thread: http://forums.smartclient.com/forum/...endant-selects
When I call save on the list grid in the previous thread I get
Criteria received from the client for add operation is missing the following non-sequence primary key fields: [id_Rooms].
This is a case of the form returning citeria fields that don't match what is needed by the parent grid.
The cirteria that is failing has:
{id_People:<id_People>,
buildingNameShort:<code_Buildings>,
roomNumber:<id_Rooms>
}
A correct save to the parent grid needs:
{id_People:<id_People>,
id_Rooms:<id_Rooms>}
So I'm looking for a way to get the comboBoxItemt to emit the criteria in a correct format, or else have the save function be able to re-fomat the citeria before attempting the save.
Hopefully there is some simple call that I'm missing here.
Using: SmartClient_v110p_2017-05-15_PowerEdition
Thanks
Russ Poyner
When I call save on the list grid in the previous thread I get
Criteria received from the client for add operation is missing the following non-sequence primary key fields: [id_Rooms].
This is a case of the form returning citeria fields that don't match what is needed by the parent grid.
The cirteria that is failing has:
{id_People:<id_People>,
buildingNameShort:<code_Buildings>,
roomNumber:<id_Rooms>
}
A correct save to the parent grid needs:
{id_People:<id_People>,
id_Rooms:<id_Rooms>}
So I'm looking for a way to get the comboBoxItemt to emit the criteria in a correct format, or else have the save function be able to re-fomat the citeria before attempting the save.
Hopefully there is some simple call that I'm missing here.
Using: SmartClient_v110p_2017-05-15_PowerEdition
Thanks
Russ Poyner
Comment