Little_Man22
Registered User.
- Local time
- Today, 16:32
- Joined
- Jun 23, 2001
- Messages
- 118
I'm trying to copy a value from one field to another. It works through code like the following in the onload procedure of the second form:
Me!Income = Forms!frmClients!Income
I've got it to work, however, if the value is null I get the message 'Data type conversion error'. This only happens for numeric fields like income and net worth. A blank field doesn't affect other fields that are text. How can I change the code to get around this error when I have numeric fields?
Thanks, Ryan.
Me!Income = Forms!frmClients!Income
I've got it to work, however, if the value is null I get the message 'Data type conversion error'. This only happens for numeric fields like income and net worth. A blank field doesn't affect other fields that are text. How can I change the code to get around this error when I have numeric fields?
Thanks, Ryan.