>>What the heck does that mean ?
>>
>>
>>*...
>> lcRecSource = .recordsource
>> .recordsource = ""
>> GO .nLastValidRec in (lcRecSource)
>> .recordsource = lcRecSource
>>*...
>>
Absolutely there are more than one tables open and current workarea has the correct table (lcRecsource).
>>TIA
>>Cetin
>
>A random, non-replicable error? I tried your code and it works without error for me. I did change the 3rd line to GO recno(lcRecSource) + 50 in (lcRecSource)
>
>I even stuck a SELECT 0 before the GO line and it still worked.
Mark,
Thanks. I can reproduce it :( I think real error location is actually at somewhere else in code but shows up there I think. With grids to my experience I needn't to select its workarea. But here even it's in current workarea. I have 2 similar classes and both have this exact code portion. The original one doesn't cause this error !!! Anyway I dismissed the causing error and got what I want modifying the original. Thanks again.
Cetin