This content has been marked as final. Show 4 replies
Change deposit.value to deposit.rawValue.
I don't see anywhere in that script where you are settings tvar to anything. What are you doing with tvar before checking its value?
Thank you for your response.
tvar = total
At first I wrote it like this:
If (total.rawValue >= 10000)then deposit.rawvalue = 1000
else deposit.rawvalue = total.rawValue*0.01
then I get an error message "accessor 'Total.rawValue' is unknown"
Hic, I think my script is screwed. Can you help me start fresh :)
THank you again PDL. I got it to work. Thankx again.
Are the deposit and total fields within the same subform? If not you will have to provide the full accessor name.