If import.fields.GetByName("Processing_Method").value="Sustaining" Then import.fields.GetByName("Form_Name").Value="SPW" import.ApplyDictionary("Online Appeal Translation Table",import.fields.GetByName("Form_Name").value) End If
The above code works fine.
I am using the following code to try to calculate receipt amount:
Dim GiftAmount As Decimal = val(Import.fields.getbyName("GIFT_AMOUNT").Value)
Dim ReceiptAmount As Decimal= GiftAmount-9
Import.Fields.GetByName("Receipt Amount").Value cstr(GiftAmount-9)
The last line is giving me the following two errors:
Property access must assign to the property or use its value
Method arguments must be enclosed in parentheses.
I eventually want to enclose this in an if statement also. Can anyone tell me what I am doing wrong.
Thank you so much. Some times it's the simplest things you miss. That worked!