Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USE dbf from EXE file
Message
De
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:
01639277
Vues:
66
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform