I am trying the following code:
and I get the following error message:
Run-time error 13
Type Mismatch
What am I doing wrong?
If I dim like
it works, but I think I should be using an object type, no?
Thanks for your help.
michael.kemp@gs.com
Code:
Function test()
Dim a As Field
Set a = Forms!calculator!tb_rate
MsgBox a
End Function
Run-time error 13
Type Mismatch
What am I doing wrong?
If I dim like
Code:
Dim a
Thanks for your help.
michael.kemp@gs.com