Well, you didn't provide all the code. I didn't see an ENDSCAN, so looking for other options.
>Okay, I did put recno("work") in as a memory variable, I mean in The debugger, but I didn't put a break on it. Okay, that's what I will do. I know the change in record number happens though as soon as I hit the foillowing code: SELECT BATCHN. And when I open a browser on the WORK table, I can't get it to move off the 1st record.
>
>>Set a breakpoint on RECNO("Work") just before it starts the SCAN. The program will break when RECNO() changes and you'll find where it's happening.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer