Morning,
I have created a page that acts as and Order Entry screen, everything is workign great now, but I have a concern in that I want to ensure that only correctly entered invoices are captured.
There are two sections that are writtento my database the invoice header, which includes the customer details and so on, then the second part that I write is the invoice lines, I have these two parts in and Try statement, but I want to ensure that the follwoing happens when the user clicks add.
That if there is an error in the header section, then none of the items are written and if there is an error in the item section the header section is not written.
If there is an error in one of the line going to the invoice then nothing is written.
My Try statement looks something like this
Try
'Wri ...
Go to the complete details ...