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:
parent
ff1d1f56b6
commit
343db0c0ec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user