VB6 to VB2008 conversion ADO field issue (.value)
Posted on 2011-02-23
When I allowed VB2008 to convert my VB6 program, .Value was added to some of the field variables and others did not. For instance, in the same section of the program, I had this:
rs("FirstName") was converted to rs.fields("FirstName")
but then a few lines down it added a .Value to a different column:
rs("LastName") was converted to rs.fields("LastName").Value
Do you know why this random-ness happened?
I know if VB6 if there was not a .Value on these it was implied, is that not the case in VB.NET?