Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3 tables report prob. in Fox Fire
Message
De
31/07/1997 02:00:22
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
30/07/1997 15:21:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00041905
Message ID:
00042578
Vues:
35
>Just to clear things up,
>is your contact table for different addresses of the same person, or for different person one knows?
>
>i.e.
>1)
>Claude can be reached in Montreal, 555-5555
>Claude can be reached in Toronto, 666-6666
>


----------------------
The first one.....
----------------------

Actually, this I have given you as a example.. I have lot of projects in which I have same situation :-

Like ->
parent is order file which is having info. abt orders.
one child is delivery file which is having delivery dates and qty.
one child is LC which is having the LC details of particular order.

User wants to see

order no., delivery date, lc no.

same relation & same problem...


>or
>
>2)
>Claude knows Bob in Montreal, 333-3333
>Claude knows Roger in Toronto, 222-2222
>
>CL
>
>
>>
>>Name - Parent Table
>>
>>code(n,5)
>>name(c,50)
>>
>>contact - child table
>>code(n,5)
>>phone(c,10)
>>
>>address - child table
>>code(n,5)
>>Address(c,50)
>>
>>Relation is
>>name.code=contact.code and name.code=address.code
>>
>>I want a report like this:-
>>
>>name, phone, address
>>
>>For testing pupose pls fill, 1 record in name, 2 in contact for the same code and 2 in address for the same code..
>>
>>The correct result should come in 2 records but it is giving 4 records.
>>
>>I will really appreciate, if you can give me any method to achieve it through sql
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform