Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a sample dbc
Message
 
À
15/07/2002 11:21:49
Kam Lee
SUNY-Health Science Center
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00678701
Message ID:
00678773
Vues:
14
>Hi all,
>I understand gendbc.prg can generate an empty copy of database. Is there any tool available that it will generate a copy of database with an arbitrary number of records like a small subset of the original database?
>I find it very useful when you have a much smaller sample database for testing your application whenare off the site...

I think the best tool is known as a "backup copy" which you can just replace the bad one with anytime it's needed. Keep the most records you'll need in it, and then delete some when you need to.

Or, you could write a little program to copy the original DBC and add/delete any records you want. Look at ADBOBJECTS for scanning a DBC and its tables, then you can control the records in each table by automation, maybe?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform