I am using VB 6.0 with SQL 8.0. I want to convert string to number one of my field in table. I am doing something like this. EMPNo is string in table, i want it to be numeric.
"select jobnumber,substring(empno,3,8)as empno,shiftnumber,line,date " & _
"From empldtllab " & _
"Where Date = '" & FromDate & "'" & _
"and empno like 'PQ%' " & _
"order by date"
"select jobnumber,substring(empno,3,8)as empno,shiftnumber,line,date " & _
"From empldtllab " & _
"Where Date = '" & FromDate & "'" & _
"and empno like 'PQ%' " & _
"order by date"