Corretta gestione sheet degli indirizzi di vendita.

git-svn-id: svn://10.65.10.50/trunk@1676 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1995-08-03 15:34:26 +00:00
parent ff1d1f56b6
commit 343db0c0ec

View File

@ -574,7 +574,7 @@ bool TClifo_application::indsp_notify(int r, KEY key)
// request to add the row #r
// To avoid rewriting of existing record.
// To avoid inserts in the middle of the sheet
if (r != -1 && indsp.items() > r)
if (r != -1 && indsp.items() > (r+1))
{
error_box("Si possono aggiungere indirizzi solo alla fine");
return FALSE; //Refuse permission