Thanks Tracy, it worked. Here is another one for you:
I am using copy memo words to thewords.txt additive copy the contents of a memo field into a text file and want to add several lines after the contents are copied into the text file before I move to the next record (song) in my table and do another copy memo command. How do I insert blank lines after a copy memo command?
>How about:
>
>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.
>>How can I trap the results of my user's choice into a variable?
>>
>>Jerry