T
tshad
How do I tell DataAdapter that Column 2 and 3 are string and not integer?
Following is the example data that comes from the .csv file
FEDERAL TAX,1084,0000
COREHCR,1084,0000
CLIENT P,1084,0000
The select is:
Dim da2 As New OleDb.OleDbDataAdapter("Select * from " &
"CorelandGLConversion.csv", conn)
The problem is that it thinks the 3rd column is an integer and changes the
0000 to 0.
Can I tell it in the Select statement that the column is a varChar? I can't
do it after reading in the data as the data will already have changed the
0000 to 0 at that point.
Thanks,
Tom.
Following is the example data that comes from the .csv file
FEDERAL TAX,1084,0000
COREHCR,1084,0000
CLIENT P,1084,0000
The select is:
Dim da2 As New OleDb.OleDbDataAdapter("Select * from " &
"CorelandGLConversion.csv", conn)
The problem is that it thinks the 3rd column is an integer and changes the
0000 to 0.
Can I tell it in the Select statement that the column is a varChar? I can't
do it after reading in the data as the data will already have changed the
0000 to 0 at that point.
Thanks,
Tom.