|
-
Jan 23rd, 2011, 11:27 PM
#1
Thread Starter
Junior Member
Why is it converting to long?
Im having problems with this code
MsgBox(txtInsertName.Text And txtInsertAge.Text)
This code will work and gives me the text in the text box
MsgBox(txtInsertName.Text)
But if I put "and txtInsertAge.text" then it gives an exception on whatever value is in txtInsertName stating;
Conversion from string "bob" to type 'Long' is not valid.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|