I have a page that can upload csv files and saved to table in the database. I'm using below connection string to read a csv file.
set connection = Server.CreateObject ("ADODB.Connection")
connection.Open Connection_string
ls_map_path = server.MapPath(as_path)
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
ls_map_path & ";Extended Properties=""Text;HDR=Yes;FMT=Delimited"";"
Set lo_rs = Server.CreateObject("ADODB.recordset")
lo_rs.CursorLocation = adUseClient
lo_rs.open "SELECT * FROM " & as_file_name, lo_conn, adOpenStatic, adLockOptimistic, adCmdText
do while not lo_rs.eof
ls_notes = lo_rs.fields.Item("notes").value
uf_save_note(ls_notes)
lo_rs.movenext
loop
The lo_rs.fields.Item("notes").value always truncated up to 300 characters. I want to read this field w/out limitation.
Please advise. Thanks in advance!