I have a table named STOCKID, which list products of several season.
Primary key is composed by the two columns Stockid and Season (same stockid could exist for different seasons).
I built a single record form for this table, defining unique key as made of Stockid and Season (this causes the following issue I guess).
The field Stockid has to be updatable.
Whenever I modify the Stockid field , and press the update button, I receive an error message, stating “error updating to the database. No row found”.
How is it possible to make the Stockid updatable ? I guess it has to be part of unique key …
PS: as far as the sql is concerned. The (stockid, Season) is part of a foreign key relationship (on update cascade) with a table orders (stockid,season). Via sql I can modify the stockid field and the update propagates correctly to any related order . I have problem with scriptcase, not with sql.
Thanks in advance