By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,557 Members | 1,164 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,557 IT Pros & Developers. It's quick & easy.

datatype mismatch in vb

P: 26
Hi, I set a table in access first column type number and other text because first column contain item number. and in a form in vb a textbox for item number. so when in run mode i want to search a item by txt_item_number field then it shows data type mismatch. please help me
Nov 29 '07 #1
Share this Question
Share on Google+
1 Reply


debasisdas
Expert 5K+
P: 8,127
Convert the value to number using val

try to use
val(textboxname.text)
Nov 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.