Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Merging 3 tables
Message
De
12/04/2007 06:18:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Merging 3 tables
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01214871
Message ID:
01214871
Vues:
64
Hi all,

I was just about to start on some elaborate code to do something, to which I feel a simple SQL might do the trick. Unfortunately, I can't get the trick!

I have 3 tables, which are basically Accounts tables which have different data, but certain common fields like ddate, cdetails, ncredit and ndebit. I need to create an updateable view which contains all the data from all the tables although on 2 tables I will be taking only the sum(ncredit), sum(ndebit) to prevent too many entries.Then, there's a certain unique linking field to create a link with the parent table if necessary, which will be used to create a sub-query if necessary, to display more detailed data from the individual table. The final view should look as if all the tables were merged into one neat view.

Any help, from anyone, please?

Regards,

Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform