G
Guest
I am using VBA to populate values in a text box ona form in Access. I get a overflow error 6 when I try to assign the value to a formula whose result is greater than 32768. However, hard-coding the value works fine. For example:
me.textbox1.value=40000 ' This works fine
n = 4
me.textbox1.value=n*10000 ' This gives an overflow error 6
Any ideas to make the second code section work?
Thanks
me.textbox1.value=40000 ' This works fine
n = 4
me.textbox1.value=n*10000 ' This gives an overflow error 6
Any ideas to make the second code section work?
Thanks