Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Export / Import
Message
De
16/06/2006 05:33:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01129447
Message ID:
01129472
Vues:
19
>Looking for a suggestion.
>
>I have a vpf9.exe with 8 tables, linked with pk and fk's (3rd normal form). All works fine. Most of the data is name and address, emails addresses and phone numbers. It is obvious the users want to export these name to other sources. In addition, they also want to be able to import names from other sources (Outlook and Outlook express and probably others, too).
>
>The question.
>
>Export: Is this a denormalization of the tables?
>
>Import: How do you find out how to process OutLook / Express tables?
>
>Dallas

Export: Yes you denormalize (if target is not one that could handle normalized data - otherwise redundancy is not required nor suggested. ie: XML).
Select what you'd show on a report or what they would like to see into a cursor and copy that out in whatever format it's needed. Or create such a view in your database and they could import instead using ADO, ADO.Net (view would allow them to see the data in denormalized form and they don't need to discover keys/relations either manually or in code - otherwise remember no need to create redundancy).

Import: For outlook you could use automation. Outlook express doesn't support automation. However for both there is an option to output to text files (CSV) in their menus. Users might export from them on their own and you instead support mapping and importing from text files.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform