Jeanne Boyarsky wrote:Consider what the code looks like with indentation that matches it.
As you can see, this doesn't set the three values with anything. What if you ended the if statement earlier?
[edited to end code block properly]
Thanks for your reply.
I edited as you directed but now not inserting any record. My new code
I think its not a if block problem but related to inserting two arrays at a time. I think when cursor is comming to answer[i] then i=0 but when its comming to correctAnswer[i] then it skipping correctAnswer[0] and working as correctAnswer[1]. This is the real problem. Is that what I think?
Thanks again and profound regards