Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Installation of dbf files?
Message
De
15/09/1998 10:25:25
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00136108
Message ID:
00136719
Vues:
26
>vfp 3.0 win 95
>
>Hello All,
>
>Have a question about the installation of dbf files.
>Once user have made first installation and run software
>for months a problem occurs and they need to reinstall
>software. Problem occurs when empty dbf files over
>write existing dbf files and wipes out their data.
>
>The only thing I can come up with is to offer 2 options
>of installation one with dbf files and one without the
>dbf files. Is there a better way to do this?

You could have some indicator in your app which would compare with some versioninfo() stored procedure in your DBC. If they don't match, you could create a subdirectory, move or copy all the tables, run a GenDbc generated routine to create new empty tables, and then append from the old data.

I've tried creating tables and moving them to a subdirectory one by one, while creating a temporary .dbc, but I've run into problems with some indexing, and the only gain was that I don't need space for twice all tables, but for twice the largest table only. I think I'll switch to this move/append method.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform