HI,
Many thanks for your help,
however, this procedure is working, but useful with few items.
In my case I have many items (>50) and it's impossible to work giving the quantity in the main list.
I need something simplier.
One interface. I choose 1/2/3 item, I give the quantity, the discount (main or single) and FMP makes all the final calculation (Total+Taxes), storing all in one record.
Really, I don't need to sort the items. The main window has to be the master window that read the external data.
I'm figuring out to make a script to do this, but actually I don't wonder how.
Many thanks
Regards
Paul