Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.mem files
Message
De
29/08/2000 12:24:53
 
 
À
29/08/2000 12:05:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00410324
Message ID:
00410343
Vues:
13
>My experience is with FPW 2.6. I have recently switched to VFP6.0.
>
>My app currently stores various incrementing variables to .mem files. When I need to increment a field, I restore from the .mem file, add one, replace the field with the result, and save the new number to the .mem file.
>
>Is there a better way to do this in VFP 6.0?

In a table :)

I used to use .mem files (from the DOS days), using tables & objects solves a lot of problems that I used to have (regarding variable scoping, ease of setting up a new variable, etc.)

For example, you could have one table that stores all of your autoIDs (autonumber keys). Have objects query/update the table when necessary.

HTH
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform