I have table with more then 50 field with similar name: answer1, answer2, answer3, answer4.....ans wer 50.
i want to make it simple with for next function. but my code doesn't accepted by the VBA. Why?
i want to make it simple with for next function. but my code doesn't accepted by the VBA. Why?
Code:
dim rst as adodb.recordset
set rst=new adodb.recordset
for i=1 to 50
rst.addnew
rst!answer & i="my answer"&i
next
Comment