>>>* This is already done successfully: >>>Select Comments From MyDBF Where ID=SomeUniqueKeyVal >>>* ID is a field that is indexed alone in a rushmore-optimized index >>>* Assume the connection is named "conn" and the recordset is named "rs" >>>* Set up the test: >>>cLongParm=rs("comments") + chr(13) + string(254,"A") >>>liChunkSize = 254 >>>Rs.Fields("comments")="" >>>FOR i = 1 to len(lcLongParm) step liChunkSize >>> liStartAt = i >>> liWorkString = mid(lcLongParm, liStartAt, liChunkSize) >>> Rs.Fields("comments").AppendChunk(liWorkString) >>>NEXT >>>conn.execute "Set Reprocess to 5 seconds",,1 >>>* This fails: >>>Rs.Update >>>>>
<% cSQLSelect = "select * from myFreeEmployee" dbpath = Server.MapPath("data") set oConnection = Server.CreateObject( "adodb.connection" ) set oRecordSet = Server.CreateObject( "adodb.RecordSet" ) with oConnection .ConnectionString = "Provider=VFPOLEDB;data source=" & dbpath & "\" .Open end with with oRecordSet .CursorType = 2 .CursorLocation = 3 .LockType = 4 .ActiveConnection = oConnection .Source = cSQLSelect .Open .Find "Last_name like 'Basoz%'" .Fields("Notes").Value = "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " & _ "123456789 123456789 123456789 123456789 123456789 " .UpdateBatch .Close end with set oRs = oConnection.Execute("select First_Name,Last_Name,Notes from myFreeEmployee") ' Check results Response.Write("<TABLE border='1'><TR><TH>First Name</TH>" & _ "<TH>Last Name</TH><TH>Notes</TH></TR>" ) while not oRS.eof Response.Write("<TR>") Response.Write("<TD>" & oRs.Fields(0).value & "</TD>") Response.Write("<TD>" & oRs.Fields(1).value & "</TD>") Response.Write("<TD>" & oRs.Fields(2).value & "</TD>") Response.Write("</TR>") oRs.MoveNext wend Response.Write("</TABLE><BR/>") oConnection.Close set oConnection = nothing %>PS: I'm sure I also made this work w/o AppendChunk with larger amounts of data read from a file. ie: Something like this: