Vb.net 2005 - Input string was not in a correct format. - from Database -


so run query:

select * shipments actionexec <> '' 

said query returns 2 results:

result 1 has actionexec = "u" result 2 has actionexec = "c"

when code runes below works fine first record.

on second record error: input string not in correct format.

the code below:

 orderno = rdrfps("order_no")  order_type = rdrfps("order_type")  shipmentnumber = rdrfps("trafficshipmentnumber")  actionexec = rdrfps("actionexec") 

the error happens on actionexec = rdrfps("actionexec"), can't display output rdrfps in immediate window.

again first record ran no errors, other fields in second record seem fine.

any ideas?


Comments

Popular posts from this blog

Need help in packaging app using TideSDK on Windows -

java - Why does my date parsing return a weird date? -

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -