Hi All,
Maybe my problem is easily for somebody..
I am working on NAV4.0Sp3. I created new form which have :
TabControl
- There are three filter variables are DateFilter,DocumentFilter and
VendorFilter
TableBox (Purchase Line)
- This tableBox where will show information when customer selected any filters
TextBox (TotalVatAmount-Decimal)
- My problem from this variable.
My question is How I can sum Amount field after I put some filters already and update TextBox Control???? ](*,)
Any help I will appreciate...Thank in advance
Wanvisa
Answers
I had a similar problem to this a couple of days ago and I created a function in the form to get around it. Your function would resemble the following:
PurchLine is a local variable in the function
You then just need to call this function from the appropriate point in your process to refresh the TotalVatAmount field.
(e.g. TotalVATAmount := CalcTotalVat;)
Hope this helps
Richie
Thank a lot for your fast answer to me...
I put this function CalcTotalVat onValidate each filter variable so I wrote code like this:
Now It's work well ....Thanks again
Best Regards,
Wanvisa