>Cetin,
>
>It shouldn't matter what area is selected when the procedure determines whether the record should be copied to the temp table or not as the error is on the line "go mpos" and two lines before the error I am selecting the correct area and table.
W/o code all I could say are theories shooting in the dark (timer, refresh, trigger etc). You could 'force' using alias there :
do while !eof('fixtures')
mpos = recno('fixtures')
..
go mpos in 'fixtures'
skip in 'fixtures'
etc
If you're determining what records should be copied to a temp table might it be possible with a select ?
select ... from fixtures where ... into table TempTable
Cetin