Run time error 3251 Current Recordset does not support updating, this may be a limitation of the provider, or of the selected Locktype
This is my simple program that will split the entries that have 2 words in it and put it in separate fields:
im using MSaccess for my tables
for example:
before
field1= word1, word2
after:
field1 = word1
field2= word2
This is my simple program that will split the entries that have 2 words in it and put it in separate fields:
im using MSaccess for my tables
for example:
before
field1= word1, word2
after:
field1 = word1
field2= word2
Code:
Private Sub Command1_Click()
Set MyConn = New ADODB.Connection
MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Thesis\testing\comma\FilipinoDict.mdb;"
MyConn.Open
Set MyRecSet = MyConn.Execute("SELECT TagWord, EngWord, POS FROM Dictionary ORDER BY TagWord")
'if myrecset.Fields(0) =
'for ctr=0 to 50
ctr = 0
Do Until MyRecSet.EOF
InputSentence.Text = MyRecSet.Fields(0).Value
wordset = Split(InputSentence.Text, ", ")
If UBound(wordset) > 0 Then
englishword = MyRecSet.Fields(1)
For ctr2 = 0 To UBound(wordset)
MyRecSet.Fields(0).Value = wordset(ctr2)
' THE PART WHERE I AM SUPPOSED TO DO THE UPDATING AND ADDING
Next ctr2
End If
MyRecSet.MoveNext
Loop
MyConn.Close
Comment