Just a wild guess... Could it be that you forgot to Select the work area after the Use command? "IN 0" doesn't select the work area, the work area will remain what it already was.
>Thank you. Something is not working in my app. When I create a cursor and then APPEND from the DBF included in the .EXE, everything works. The cursor is filled with the data from the DBF. But when I try to USE, it does not work. I have to go with the APPEND then.
>
>>No, .DBF is default extension when none is specified
>>
>>>This is what I thought too but I get a window/dialog prompting me to find/select the .DBF file. Should the extension .DBF be included in the USE expression?
>>>
>>>>Yes, it'll work. Even if you specify any path, DBF from exe will be open anyway.
>>>>>
>>>>>If I want to open a DBF included in the EXE, should the following code work:
>>>>>
>>>>>
>>>>>USE MY_TABLE IN 0 ALIAS MY_TABLE
>>>>>
>>>>>
>>>>>Or I have to "indicate" somehow that the .DBF is in the EXE?
>>>>>
>>>>>TIA