Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USE dbf from EXE file
Message
 
 
À
09/08/2016 16:55:36
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01639246
Message ID:
01639281
Vues:
57
>>Yes, it could be it. I have this USE and then LOCATE command right after. I thought that the window/prompt I see was generated by the USE command. But it could be that it was generated by the LOCATE command. Thank you!
>>
>>But now I am wondering. I already changed my code to use CREATE CURSOR and then APPEND FROM ("MyTable"). Is this better than USE directly?
>
>Directly is always faster than going around, but it depends on what you want. A table from inside the exe is read-only; created cursor is readwrite and you may also have a somewhat different set of fields in it (append will make sure it goes by field name and will even do some simpler conversions where field types differ), so if a readwrite cursor is what you need, go for it.
>
>Of course, it won't change your table-in-exe, but you knew that.

Yes, this is what I did: opened the DBF right from the EXE. And I don't need to change any values, just read them. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform