> IF !USED(TBLNAME) &&tblname can be different table based on user's selection > SELECT 0 > DO OPENTBL WITH TBLNAME > ENDIF > SELECT (TBLNAME) > SET MULTILOCKS ON > = CURSORSETPROP('Buffering', 3, TBLNAME) > > SET ORDER TO POL_NUM > IF SEEK(M.POL_NUM) && I am getting error here > DO WHATEVER.... > ENDIF> I hope you can help. I did delete the table and indexes but nothing is working.