LOCAL lctable lctable="" lctable=GETFILE("dbf") DO CASE CASE RIGHT(lctable,LEN(ALLT(lctable))-RAT('\',lctable))="MYFILE.DBF" USE (lctable) IN 0 SELE (lctable) CASE EMPTY(lctable) *Do something here OTHERWISE *Do something here ENDCASE>I want to allow my user to choose a table by use ?. I want to trap his selection and depending on the results of his choice my program will act accordingly. For instance, if he aborted and did not use a dbf file, I may end the procedure etc.