Connecting Tech Pros Worldwide Forums | Help | Site Map

Data type conversion error in access

Newbie
 
Join Date: Nov 2008
Posts: 1
#1: Nov 18 '08
Hi 2 all,

I am having problem of this 3421 error. The student details are maintained by us. The mobile field may be null on sometimes if the student does't have that number.So i put default value as 0. But when i entered the values on that mobile field. i caught up with this error. If anyone know the answer reply me.
Thanks,
ela

missinglinq's Avatar
Moderator
 
Join Date: Nov 2006
Location: Richmond, Virginia USA
Posts: 3,000
#2: Nov 18 '08

re: Data type conversion error in access


The first question, of course, is what Datatype is the Mobile field? Since it's not really a "number," i.e.it won't be used in mathematical calculations, it shouldn't be declared as a Number, but rather as Text. If it is, in fact, Text, assigning a numerical value to it could cause this error. If it's Text, why not assign something like 'N/A" if there's no value?

Welcome to Bytes!

Linq ;0)>
Reply