For some reason I can't retrieve the value from tax after it is automatically processed by using taxfinder( a double variable) = TransactionEntryForm.PmTransactionEntry.TaxAmount.Value after RunValidate is computed for purchases and before the save button is called. The tax value inside the textbox is there but is never copied into a variable during this process.
My relevant code for this part:
GPAddIn.TotalCostGP.RunValidate()
GPAddIn.TaxRate.Focus()
taxfinder = GPAddIn.TaxRate.Value()
GPAddIn.Saveit.RunValidate()
Taxfinder ends up being 0 for this process despite the value of tax being anything but zero.
However, I can normally get the value of the taxes when I click a button that calls:
taxfinder = GPAddIn.TaxRate.Value()
Any Help???
*This post is locked for comments