>>>I have replaced it with the proper tag name. I don't get the error now, but the code still does not copy my mynotes.notes to crsbom.notes. Sorry, I have all this table names.
>>
>>Samuel,
>>
>>Any chance that eof('crsbom') is TRUE ?
>>
>>
>>if( eof('crsbom') )
>> repl notes with 'abc' in crsbom
>>endif
>>
>
>I think this can be TRUE. I have noticed that the code is not scanning; but I am not sure. I still don't understand how the scan works. Sorry for replying so late.
>
>Thanks,
>Sam
Because you have not been scanning crsBom, but the other cursor. SCAN just goes from the first record in the table to the last if there are no FOR or WHILE condition.
If it's not broken, fix it until it is.
My Blog