Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USE dbf from EXE file
Message
De
09/08/2016 12:55:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01639246
Message ID:
01639255
Vues:
62
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform