I have an invoice form with a nett total on it. Beneath are the child invoice lines in a browse. I create an invoice line then on the invoice form itself in the embed point Got Focus Back at the End I loop through the invoice lines, total them up and calculate the invoice totals.
This works just fine in that I have variables holding the correct totals. However I cannot assign them to the invoice record itself.
So I have the invoice showing as a form and want to refresh the totals.
How do i do that? I tried saying inv:nett = loc:nett and p_web.ssv('inv:nett',loc:nett) but nothing seems to assign the values. Yet the local variables are there and correct.
Thank you
John